diff --git a/RealTime/plugin.yml b/RealTime/plugin.yml index 257bd72..8962cc5 100644 --- a/RealTime/plugin.yml +++ b/RealTime/plugin.yml @@ -2,7 +2,7 @@ name: RealTime main: RealTime\MainClass version: 2.1.3 -api: [3.0.0-ALPHA5, 3.0.0-ALPHA6, 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11] +api: [3.0.0-ALPHA5, 3.0.0-ALPHA6, 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11, 3.0.0-ALPHA12] load: POSTWORLD author: Guillaume351 description: Take control of the time diff --git a/RealTime/src/RealTime/MainClass.php b/RealTime/src/RealTime/MainClass.php index 704dd85..f4a7aa5 100644 --- a/RealTime/src/RealTime/MainClass.php +++ b/RealTime/src/RealTime/MainClass.php @@ -12,7 +12,7 @@ use pocketmine\utils\TextFormat; use pocketmine\event\Listener; use pocketmine\level\Level; use pocketmine\utils\Config; -use pocketmine\scheduler\CallbackTask; +use pocketmine\scheduler\PluginTask;