diff --git a/RealTime/src/RealTime/tellTimeTask.php b/RealTime/src/RealTime/tellTimeTask.php index 8cbf220..1b27a62 100644 --- a/RealTime/src/RealTime/tellTimeTask.php +++ b/RealTime/src/RealTime/tellTimeTask.php @@ -9,9 +9,9 @@ namespace RealTime; -use pocketmine\scheduler\PluginTask; +use pocketmine\scheduler\Task; -class tellTimeTask extends PluginTask{ +class tellTimeTask extends Task{ /** * Actions to execute when run @@ -22,7 +22,6 @@ class tellTimeTask extends PluginTask{ */ public $plugin; public function __construct($plugin){ - parent::__construct($plugin); $this->plugin = $plugin; }