Update 'RealTime/src/RealTime/changeTimeTask.php'

This commit is contained in:
Josh North 2017-07-26 09:39:33 -04:00
parent 730d79cdb5
commit be5212b90b

View File

@ -1,17 +1,17 @@
<?php <?php
namespace RealTime; namespace RealTime;
use pocketmine\scheduler\PluginTask; use pocketmine\scheduler\PluginTask;
class changeTimeTask extends PluginTask{ class changeTimeTask extends PluginTask{
public $plugin; public $plugin;
public function __construct($plugin){ public function __construct($plugin){
parent::__construct($plugin); parent::__construct($plugin);
$this->plugin = $plugin; $this->plugin = $plugin;
} }
public function onRun($currentTick) { public function onRun(int $currentTick) {
$this->plugin->changeTime(); $this->plugin->changeTime();
} }
} }