Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lucky Block Breaking Bug #8

Open
YT-Duckyyy opened this issue Jul 27, 2022 · 1 comment
Open

Lucky Block Breaking Bug #8

YT-Duckyyy opened this issue Jul 27, 2022 · 1 comment

Comments

@YT-Duckyyy
Copy link

This occurs every so often when I break a lucky block.

[23:29:30.801] [Server thread/CRITICAL]: ErrorException: "foreach() argument must be of type array|object, string given" (EXCEPTION) in "plugins/LuckyBlock.phar/src/palente/luckyblock/events/BlockBreak" at line 60
--- Stack trace ---
#0 plugins/LuckyBlock.phar/src/palente/luckyblock/events/BlockBreak(60): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[61] foreach() argument must be of type array|object, string given, string[91] phar:///home/container/plugins/LuckyBlock.phar/src/palente/luckyblock/events/Blo, int 60)
#1 plugins/LuckyBlock.phar/src/palente/luckyblock/events/BlockBreak(38): palente\luckyblock\events\BlockBreak->brokeLuckyBlock(object ipad54\netherblocks\player\Player#131482, object pocketmine\block\Sponge#177290)
#2 pmsrc/src/event/RegisteredListener(60): palente\luckyblock\events\BlockBreak->onBreak(object pocketmine\event\block\BlockBreakEvent#159180)
#3 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\block\BlockBreakEvent#159180)
#4 pmsrc/src/world/World(1711): pocketmine\event\Event->call()
#5 pmsrc/src/player/Player(1654): pocketmine\world\World->useBreakOn(object pocketmine\math\Vector3#181071, object pocketmine\item\ItemBlock#177628, object ipad54\netherblocks\player\Player#131482, true)
#6 pmsrc/src/network/mcpe/handler/InGamePacketHandler(447): pocketmine\player\Player->breakBlock(object pocketmine\math\Vector3#178065)
#7 pmsrc/src/network/mcpe/handler/InGamePacketHandler(235): pocketmine\network\mcpe\handler\InGamePacketHandler->handleUseItemTransaction(object pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData#177346)
#8 pmsrc/vendor/pocketmine/bedrock-protocol/src/PlayerAuthInputPacket(251): pocketmine\network\mcpe\handler\InGamePacketHandler->handlePlayerAuthInput(object pocketmine\network\mcpe\protocol\PlayerAuthInputPacket#177364)
#9 pmsrc/src/network/mcpe/NetworkSession(394): pocketmine\network\mcpe\protocol\PlayerAuthInputPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#165415)
#10 pmsrc/src/network/mcpe/NetworkSession(357): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\PlayerAuthInputPacket#177364, string[252] .....B..$CW..Cr=.B..@C..........$C............................A....&/...........)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[204] ..8.qB....%*....9...;1.;[email protected]....0221=d..4.MX..D300.`q...........e.........!%.. )
#12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[213] .c~..8^..r}....~.=......5.......<0.(......NC...la$|......u...zs$......_.W...u.:z)
#13 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#129479)
#14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib{closure}()
#15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#16 pmsrc/src/Server(1703): pocketmine\snooze\SleeperHandler->sleepUntil(float 1658964570.8287)
#17 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#19 pmsrc/src/PocketMine(327): pocketmine\server()
#20 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

@KingDeadKnight
Copy link

KingDeadKnight commented Jul 28, 2022

Which version did you use (plugin + pmmp ?)

Can you provide us your config ?

Last version of both plugin/pmmp works with default configuration.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants