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

Undefined variable: add" (EXCEPTION) in "VanillaEnchantments_dev-99.phar/src/vanilla/Core" at line 119 #79

Open teracube opened 6 years ago

teracube commented 6 years ago

VanillaEnchantments_dev-99.phar PocketMine-MP#1413 stable 1.6

2018-08-30 [08:53:43] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\block\BlockBreakEvent' to 'VanillaEnchantments v4.0.0': Undefined variable: add on vanilla\Core
2018-08-30 [08:53:43] [Server thread/CRITICAL]: ErrorException: "Undefined variable: add" (EXCEPTION) in "VanillaEnchantments_dev-99.phar/src/vanilla/Core" at line 119
2018-08-30 [08:53:43] [Server thread/DEBUG]: #0 VanillaEnchantments_dev-99.phar/src/vanilla/Core(119): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Undefined variable: add, string phar:///home/myservertest/plugins/VanillaEnchantments_dev-99.phar/src/vanilla/Core.php, integer 119, array Array())
2018-08-30 [08:53:43] [Server thread/DEBUG]: #1 (): vanilla\Core->vanilla\{closure}(pocketmine\item\Coal object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #2 VanillaEnchantments_dev-99.phar/src/vanilla/Core(121): array_map(Closure object, array Array())
2018-08-30 [08:53:43] [Server thread/DEBUG]: #3 src/pocketmine/plugin/MethodEventExecutor(38): vanilla\Core->onBreak(pocketmine\event\block\BlockBreakEvent object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #4 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(vanilla\Core object, pocketmine\event\block\BlockBreakEvent object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginManager(692): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\block\BlockBreakEvent object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(1693): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\block\BlockBreakEvent object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #7 src/pocketmine/Player(2403): pocketmine\level\Level->useBreakOn(pocketmine\math\Vector3 object, pocketmine\item\Pickaxe object, pocketmine\Player object, boolean 1)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(132): pocketmine\Player->handleInventoryTransaction(CortexPE\network\InventoryTransactionPacket object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #9 TeaSpoon_dev-210.phar/src/CortexPE/network/InventoryTransactionPacket(81): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(CortexPE\network\InventoryTransactionPacket object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): CortexPE\network\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(CortexPE\network\InventoryTransactionPacket object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #13 src/pocketmine/Player(3056): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(162): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #15 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 90.2.132.184 63523, raklib\protocol\EncapsulatedPacket object, integer 0)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket()
2018-08-30 [08:53:43] [Server thread/DEBUG]: #17 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
2018-08-30 [08:53:43] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/RakLibInterface(80): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #19 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
2018-08-30 [08:53:43] [Server thread/DEBUG]: #20 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
2018-08-30 [08:53:43] [Server thread/DEBUG]: #21 src/pocketmine/Server(2259): pocketmine\snooze\SleeperHandler->sleepUntil(double 1535612023.7362)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #22 src/pocketmine/Server(2134): pocketmine\Server->tickProcessor()
2018-08-30 [08:53:43] [Server thread/DEBUG]: #23 src/pocketmine/Server(1700): pocketmine\Server->start()
2018-08-30 [08:53:43] [Server thread/DEBUG]: #24 src/pocketmine/PocketMine(243): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myservertest/, string /home/myservertest/plugins/)
2018-08-30 [08:53:43] [Server thread/DEBUG]: #25 /home/myservertest/PocketMine-MP.phar(1): require(string phar:///home/myservertest/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
teracube commented 6 years ago

@TheAz928 could you solve this issue please my console is spammed with this issue

TheAz928 commented 6 years ago

@teracube I'm sorry, I'll fix asap, thing is I'm busy at the moment

teracube commented 6 years ago

@TheAz928

thanks