Closed MonoAdrian23 closed 2 years ago
explain more
OK but sorry for my bad english In config i have Register Looting and Fortune Max-Level:3 but when i use this Ingame, i become Internal Server Error. No Crashdumps aviable.
Only when i try to enchant.
Same problem
i get internal server error when u i use piggy enchants
2020-05-01 [22:14:32] [Server thread/CRITICAL]: ErrorException: "Invalid argument supplied for foreach()" (EXCEPTION) in "plugins/EnchantShopUI.phar/src/UnknownOre/EnchantUI/Main" at line 79 2020-05-01 [22:14:32] [Server thread/DEBUG]: #0 plugins/EnchantShopUI.phar/src/UnknownOre/EnchantUI/Main(79): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[39] Invalid argument supplied for foreach(), string[120] phar://C:/Users/Bobby-Foo/Documents/PocketMineServers/XTest/plugins/EnchantShopU, integer 79, array[2]) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #1 plugins/EnchantShopUI.phar/src/UnknownOre/EnchantUI/Commands/ShopCommand(45): UnknownOre\EnchantUI\Main->listForm(object pocketmine\Player) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #2 src/pocketmine/command/SimpleCommandMap(248): UnknownOre\EnchantUI\Commands\ShopCommand->execute(object pocketmine\Player, string[5] eshop, array[0]) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #3 src/pocketmine/Server(1807): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[5] eshop) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #4 src/pocketmine/Player(2218): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[5] eshop) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(244): pocketmine\Player->chat(string[6] /eshop) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #10 src/pocketmine/Player(3118): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 66.229.170.194 52134, object raklib\protocol\EncapsulatedPacket, integer 0) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() 2020-05-01 [22:14:32] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() 2020-05-01 [22:14:32] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() 2020-05-01 [22:14:32] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() 2020-05-01 [22:14:32] [Server thread/DEBUG]: #17 src/pocketmine/Server(2146): pocketmine\snooze\SleeperHandler->sleepUntil(double 1588389272.2165) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #18 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor() 2020-05-01 [22:14:32] [Server thread/DEBUG]: #19 src/pocketmine/Server(1584): pocketmine\Server->start() 2020-05-01 [22:14:32] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[53] C:\Users\Bobby-Foo\Documents\PocketMineServers\XTest\, string[61] C:\Users\Bobby-Foo\Documents\PocketMineServers\XTest\plugins) 2020-05-01 [22:14:32] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(296): pocketmine\server() 2020-05-01 [22:14:32] [Server thread/DEBUG]: #22 (11): require(string[108] phar://C:/Users/Bobby-Foo/Documents/PocketMineServers/XTest/PocketMine-MP.phar/s) 2020-05-01 [22:14:32] [Server thread/INFO]: BOBBYTOWERS left the game
Fortune and looting doesnt work. How can i fix this. I am not a Teaspoon User! I hope you can help me. Thanks! Pocketmine 3.11.5 Enchant UI Latest