LeinneSW / PureEntities

A plugin to implements entities in pmmp
GNU Lesser General Public License v3.0
87 stars 38 forks source link

crash on Imagicalmine php7. #18

Closed DarkWav closed 8 years ago

DarkWav commented 8 years ago

Crash Report:

[09:20:54] system> ------------------------------------------------------------------------------------------- [09:20:54] system> | | [09:20:54] system> | () () | | \/ () | [09:20:54] system> | _ _ | | \ / | _ _ | [09:20:54] system> | | | ' ` \ / ` |/ | |/ __/ _ | | |\/| | | ' \ / \ ImagicalMine 1.0dev | [09:20:54] system> | | | | | | | | (| | (| | | (| (| | | | | | | | | | / | [09:20:54] system> | ||| || ||\,_|, |_|___,||| |||| ||| for MCPE v0.13.2 alpha | [09:20:54] system> | _/ | | [09:20:54] system> | |/ | [09:20:54] system> ------------------------------------------------------------------------------------------- [09:20:54] system> [09:20:54] system> ImagicalMine is a third-party build of PocketMine-MP, distributed under the LGPL licence [09:20:54] system> Loading ImagicalMine system files.... [09:20:54] system> Loading server properties... [09:20:54] system> Selected English (eng) as the base language [09:20:54] system> Starting Minecraft: PE server version v0.13.2 alpha [09:20:54] system> Opening server on 192.168.2.127:19132 [09:20:54] system> This server is running ImagicalMine version 1.0dev "ImagicalMine" (API 1.14.0) [09:20:54] system> ImagicalMine is distributed under the LGPL License [09:20:54] system> Loading AdvancedMOTD v1.0.1 [09:20:54] system> Loading ClearLagg v1.1.0 [09:20:54] system> Loading DevTools v1.10.0 [09:20:54] system> Loading DN v0.2 [09:20:54] system> Loading EntityManager v2.5

Warning: Declaration of milk\entitymanager\entity\animal\WalkingAnimal::onUpdate(int $currentTick): bool should be compatible with pocketmine\entity\Entity::onUpdate($currentTick) in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/entity/animal/WalkingAnimal.php on line 9

Warning: Declaration of milk\entitymanager\entity\monster\WalkingMonster::onUpdate(int $currentTick): bool should be compatible with pocketmine\entity\Entity::onUpdate($currentTick) in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/entity/monster/WalkingMonster.php on line 18

Warning: Declaration of milk\entitymanager\entity\monster\FlyingMonster::entityBaseTick(int $tickDiff = 1) should be compatible with milk\entitymanager\entity\BaseEntity::entityBaseTick($tickDiff = 1) in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/entity/monster/FlyingMonster.php on line 15

Warning: Declaration of milk\entitymanager\entity\monster\FlyingMonster::onUpdate(int $currentTick): bool should be compatible with pocketmine\entity\Entity::onUpdate($currentTick) in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/entity/monster/FlyingMonster.php on line 15

Warning: Declaration of milk\entitymanager\entity\projectile\FireBall::onUpdate(int $currentTick): bool should be compatible with pocketmine\entity\Projectile::onUpdate($currentTick) in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/entity/projectile/FireBall.php on line 115 [09:20:54] system> Loading FastTransfer v1.0.2 [09:20:54] system> Loading MoreTrees v1.0-Alpha [09:20:54] system> Loading TapToDo v2.2.1 [09:20:54] system> Loading VPNGuard v1.0.4 [09:20:54] system> Loading SimpleWarp v2.1.0 [09:20:54] system> Loading SpawnMgr v1.3.0 [09:20:54] system> Loading SimplePortals v0.0.3 [09:20:54] system> Enabling AdvancedMOTD v1.0.1 [09:20:54] system> AdvancedMOTD Enabled! [09:20:54] system> Enabling DevTools v1.10.0 [09:20:54] system> [DevTools] Registered folder plugin loader [09:20:54] system> Enabling EntityManager v2.5 [09:20:54] system> [EntityManager]Plugin has been enabled [09:20:54] critical> TypeError: "Argument 2 passed to milk\entitymanager\EntityManager::getData() must be an instance of milk\entitymanager\mixed, integer given, called in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/EntityManager.php on line 120" (EXCEPTION) in "/EntityManager_v2.5.phar/src/milk/entitymanager/EntityManager" at line 151 [09:20:54] system> Disabling EntityManager v2.5

Warning: yaml_parse(): end of stream reached without finding document 0 in phar://C:/PocketMine/ImagicalMine-IC/%app%/ImagicalMine-IC.phar/src/pocketmine/utils/Config.php on line 148

Warning: yaml_parse(): end of stream reached without finding document 0 in phar://C:/PocketMine/ImagicalMine-IC/%app%/ImagicalMine-IC.phar/src/pocketmine/utils/Config.php on line 148 [09:20:54] system> [EntityManager]Plugin has been disable [09:20:54] system> Enabling FastTransfer v1.0.2 [09:20:54] system> Enabling VPNGuard v1.0.4 [09:20:54] system> [VPNGuard] No API key specified, using free version. [09:20:54] system> Enabling EntityManager v2.5 [09:20:54] system> [EntityManager]Plugin has been enabled [09:20:54] critical> TypeError: "Argument 2 passed to milk\entitymanager\EntityManager::getData() must be an instance of milk\entitymanager\mixed, integer given, called in phar://C:/PocketMine/ImagicalMine-IC/%app%/plugins/EntityManager_v2.5.phar/src/milk/entitymanager/EntityManager.php on line 120" (EXCEPTION) in "/EntityManager_v2.5.phar/src/milk/entitymanager/EntityManager" at line 151 [09:20:54] system> Disabling EntityManager v2.5 [09:20:54] system> [EntityManager]Plugin has been disable [09:20:54] system> Preparing level "world" [09:20:54] system> Enabling ClearLagg v1.1.0 [09:20:54] system> Enabling DN v0.2 [09:20:54] system> Enabling MoreTrees v1.0-Alpha [09:20:54] system> Enabling TapToDo v2.2.1 [09:20:54] system> Enabling SimpleWarp v2.1.0 [09:20:54] system> Enabling SpawnMgr v1.3.0 [09:20:54] system> Enabling SimplePortals v0.0.3 [09:20:54] system> Starting GS4 status listener [09:20:54] system> Setting query port to 19132 [09:20:54] system> Query running on 192.168.2.127:19132 [09:20:54] system> Default game type: Survival Mode [09:20:54] system> Done (0.62s)! For help, type "help" or "?"

DarkWav commented 8 years ago

Im sure I used the php7 version. I changed API in plugin.yml to 1.14.0

LeinneSW commented 8 years ago

Thanks for report, I'll check it