BEcraft / BattleRoyale

Minecraft Pocket Edition
0 stars 0 forks source link

Error on Enable #1

Closed BLOCKSTORMPE closed 6 years ago

BLOCKSTORMPE commented 6 years ago

This error occurs onEnable

20:28:16 INFO > Enabling BattleRoyale v1
20:28:16 CRITICAL > Error: "Access to undeclared static property: pocketmine\item\Item::$list" (EXCEPTION) in "BattleRoyale-master/src/BattleRoyale/GameManager" at line 64
20:28:16 DEBUG > #0 src/pocketmine/plugin/PluginBase(90): BattleRoyale\GameManager->onEnable()
20:28:16 DEBUG > #1 src/pocketmine/plugin/FolderPluginLoader(126): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
20:28:16 DEBUG > #2 src/pocketmine/plugin/PluginManager(567): pocketmine\plugin\FolderPluginLoader->enablePlugin(BattleRoyale\GameManager object)
20:28:16 DEBUG > #3 src/pocketmine/Server(2005): pocketmine\plugin\PluginManager->enablePlugin(BattleRoyale\GameManager object)
20:28:16 DEBUG > #4 src/pocketmine/Server(1991): pocketmine\Server->enablePlugin(BattleRoyale\GameManager object)
20:28:16 DEBUG > #5 src/pocketmine/Server(1785): pocketmine\Server->enablePlugins(integer 1)
20:28:16 DEBUG > #6 src/pocketmine/PocketMine(301): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/UniverseMC/Testserver/, string /home/UniverseMC/Testserver/plugins/)
20:28:16 DEBUG > #7 /home/UniverseMC/Testserver/PocketMine-MP.phar(1): require_once(string phar:///home/UniverseMC/Testserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
20:28:16 INFO > Disabling BattleRoyale v1

And could you please make a version where you join the game when you join the server?

BEcraft commented 6 years ago

Hmmm, are you using pocketmine for mcpe 1.2?

BLOCKSTORMPE commented 6 years ago

No Altay for 1.2

isoz commented 6 years ago

Not sure why he's asking you if you're running PMMP, I just tried it on latest PMMP and I have to keep fixing bug after bug, it's not compatible with either. Also that error Item::$list, where is $list declared?? makes no sense.

isoz commented 6 years ago

Jesus, it's worse than I expected, all the classes are old API... classic case of copy pasta.

BEcraft commented 6 years ago

BLOCKSTORMPE, that plugin is for Mcpe 1.1.0.55 (pocketmine 1.6.2dev to be exact)

BEcraft commented 6 years ago

isoz no, it is not a copy and paste, just i still have my server for mcpe 1.1.0.55 running pocketmine 1.6.2dev for 32bits system as you can see (i guess)...

isoz commented 6 years ago

Do you allow 1.2 clients in that server?

BEcraft commented 6 years ago

Nope, but soon i will update the minigame to the newest pmmp version (Im working on it right now)

BEcraft commented 6 years ago

Try new version