TheAz928 / VanillaEnchantments

Ever wanted to have working Enchants on your PocketMine-MP server? Well now you can!
GNU General Public License v3.0
40 stars 33 forks source link

ErrorException: in "VanillaEnchantments_dev-82.phar/src/vanilla/Core" at line 153 #55

Closed teracube closed 6 years ago

teracube commented 6 years ago

VanillaEnchantments_dev-82.phar PocketMine-MP version 1.7dev-1079 "[REDACTED]" (API 3.0.0-ALPHA12)

2018-06-02 [17:09:50] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\entity\EntityDamageByEntityEvent' to 'VanillaEnchantments v3.1.0_ALPHA': in_array() expects parameter 2 to be array, integer given on vanilla\Core
2018-06-02 [17:09:50] [Server thread/CRITICAL]: ErrorException: "in_array() expects parameter 2 to be array, integer given" (EXCEPTION) in "VanillaEnchantments_dev-82.phar/src/vanilla/Core" at line 153
2018-06-02 [17:09:50] [Server thread/DEBUG]: #0 (): pocketmine\error_handler(integer 2, string in_array() expects parameter 2 to be array, integer given, string phar:///home/g3.hmserv.eu-19144/plugins/VanillaEnchantments_dev-82.phar/src/vanilla/Core.php, integer 153, array Array())
2018-06-02 [17:09:50] [Server thread/DEBUG]: #1 VanillaEnchantments_dev-82.phar/src/vanilla/Core(153): in_array(array Array(), integer -1)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #2 src/pocketmine/plugin/MethodEventExecutor(38): vanilla\Core->onDamage(pocketmine\event\entity\EntityDamageByEntityEvent object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #3 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(vanilla\Core object, pocketmine\event\entity\EntityDamageByEntityEvent object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(701): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\entity\EntityDamageByEntityEvent object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #5 src/pocketmine/entity/Entity(890): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\entity\EntityDamageByEntityEvent object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #6 src/pocketmine/entity/Living(528): pocketmine\entity\Entity->attack(pocketmine\event\entity\EntityDamageByEntityEvent object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #7 src/pocketmine/Player(3704): pocketmine\entity\Living->attack(pocketmine\event\entity\EntityDamageByEntityEvent object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #8 src/pocketmine/Player(2514): pocketmine\Player->attack(pocketmine\event\entity\EntityDamageByEntityEvent object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(132): pocketmine\Player->handleInventoryTransaction(CortexPE\network\InventoryTransactionPacket object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #10 TeaSpoon_dev-196.phar/src/CortexPE/network/InventoryTransactionPacket(155): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(CortexPE\network\InventoryTransactionPacket object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): CortexPE\network\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(CortexPE\network\InventoryTransactionPacket object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #14 src/pocketmine/Player(3033): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(158): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #16 vendor/pocketmine/raklib/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 90.45.XX.104 59929, raklib\protocol\EncapsulatedPacket object, integer 0)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket()
2018-06-02 [17:09:50] [Server thread/DEBUG]: #18 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
2018-06-02 [17:09:50] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/RakLibInterface(80): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #20 vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
2018-06-02 [17:09:50] [Server thread/DEBUG]: #21 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
2018-06-02 [17:09:50] [Server thread/DEBUG]: #22 src/pocketmine/Server(2279): pocketmine\snooze\SleeperHandler->sleepUntil(double 1527952190.7198)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #23 src/pocketmine/Server(2150): pocketmine\Server->tickProcessor()
2018-06-02 [17:09:50] [Server thread/DEBUG]: #24 src/pocketmine/Server(1733): pocketmine\Server->start()
2018-06-02 [17:09:50] [Server thread/DEBUG]: #25 src/pocketmine/PocketMine(290): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/g3.hmserv.eu-19144/, string /home/g3.hmserv.eu-19144/plugins/)
2018-06-02 [17:09:50] [Server thread/DEBUG]: #26 /home/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php)