Infernus101 / KitUI

Advance AdvancedKits! Select Kits from a form, just do /kit and get kits info and select it if available! For Minecraft Bedrock Edition!
GNU General Public License v3.0
44 stars 33 forks source link

Please update to 3.0.0 #87

Closed YHC2538 closed 6 years ago

YHC2538 commented 6 years ago

KitUI Issue

Issue description

Please update scheduler tasks, this is one of the best plugins out there, please fix!

Reproducing the issue

  1. ...
  2. ...

Client information

PocketMine-MP Version: (insert commit hash here) Kit-UI Version: (insert commit hash or version from plugin.yml here) MCPE Version: (insert game version here) Plugin Version: (insert commit hash here) PHP version: 7.2

Optional information

...

[17:54:33] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\Server::getScheduler()" (EXCEPTION) in "KitUI-master/src/Infernus101/KitUI/Main" at line 43
[17:54:33] [Server thread/DEBUG]: #0 src/pocketmine/plugin/PluginBase(102): Infernus101\KitUI\Main->onEnable()
[17:54:33] [Server thread/DEBUG]: #1 src/pocketmine/plugin/PluginManager(618): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[17:54:33] [Server thread/DEBUG]: #2 src/pocketmine/Server(1928): pocketmine\plugin\PluginManager->enablePlugin(Infernus101\KitUI\Main object)
[17:54:33] [Server thread/DEBUG]: #3 src/pocketmine/Server(1914): pocketmine\Server->enablePlugin(Infernus101\KitUI\Main object)
[17:54:33] [Server thread/DEBUG]: #4 src/pocketmine/Server(1708): pocketmine\Server->enablePlugins(integer 1)
[17:54:33] [Server thread/DEBUG]: #5 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\\Desktop\PocketMine-MP\, string C:\Users\\Desktop\PocketMine-MP\plugins\)
[17:54:33] [Server thread/DEBUG]: #6 C:/Users/Desktop/PocketMine-MP/PocketMine-MP.phar(1): require(string phar://C:/Users//Desktop/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Config

...

YHC2538 commented 6 years ago

@Infernus101

ManiakMCPE commented 6 years ago

I need it updated as well, the UI in AdvancedKits is poorly implemented at the moment.

YHC2538 commented 6 years ago

@ManiakMCPE, I believe we just have to edit the scheduler task and delete parent::_construct

ManiakMCPE commented 6 years ago

If you get it working, please hmu.

YHC2538 commented 6 years ago

@ManiakMCPE Try this: https://github.com/MSG100TC/KitUI