Update 'RealTime/src/RealTime/tellTimeTask.php'
This commit is contained in:
parent
be5212b90b
commit
88515642b3
@ -1,34 +1,34 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Created by PhpStorm.
|
* Created by PhpStorm.
|
||||||
* User: Guillaume
|
* User: Guillaume
|
||||||
* Date: 06/07/2015
|
* Date: 06/07/2015
|
||||||
* Time: 11:00
|
* Time: 11:00
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace RealTime;
|
namespace RealTime;
|
||||||
|
|
||||||
|
|
||||||
use pocketmine\scheduler\PluginTask;
|
use pocketmine\scheduler\PluginTask;
|
||||||
|
|
||||||
class tellTimeTask extends PluginTask{
|
class tellTimeTask extends PluginTask{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Actions to execute when run
|
* Actions to execute when run
|
||||||
*
|
*
|
||||||
* @param $currentTick
|
* @param $currentTick
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
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)
|
||||||
{
|
{
|
||||||
// TODO: Implement onRun() method.
|
// TODO: Implement onRun() method.
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user