DaPigGuy / PiggyCrates

A crate plugin for PocketMine-MP supporting unlimited crate types
https://piggydocs.aericio.net/PiggyCrates.html
Apache License 2.0
31 stars 40 forks source link

Error #69

Closed teracube closed 4 years ago

teracube commented 4 years ago

Please make sure your issue complies with these guidelines:

Issue Description

Steps to Reproduce the Issue

  1. ...
  2. ...

OS and Versions

Extra Information

2020-06-18 [14:05:25] [Server thread/CRITICAL]: Error: "Call to a member function getInventoryForPlayer() on null" (EXCEPTION) in "plugins/PiggyCrates_dev-94.phar/src/DaPigGuy/PiggyCrates/libs/muqsit/invmenu/session/PlayerSession" at line 79
2020-06-18 [14:05:25] [Server thread/DEBUG]: #0 plugins/PiggyCrates_dev-94.phar/src/DaPigGuy/PiggyCrates/libs/muqsit/invmenu/session/PlayerSession(106): DaPigGuy\PiggyCrates\libs\muqsit\invmenu\session\PlayerSession->sendWindow()
2020-06-18 [14:05:25] [Server thread/DEBUG]: #1 plugins/PiggyCrates_dev-94.phar/src/DaPigGuy/PiggyCrates/libs/muqsit/invmenu/session/PlayerNetwork(57): DaPigGuy\PiggyCrates\libs\muqsit\invmenu\session\PlayerSession->DaPigGuy\PiggyCrates\libs\muqsit\invmenu\session\{closure}(boolean 1)
2020-06-18 [14:05:25] [Server thread/DEBUG]: #2 plugins/PiggyCrates_dev-94.phar/src/DaPigGuy/PiggyCrates/libs/muqsit/invmenu/InvMenuEventHandler(61): DaPigGuy\PiggyCrates\libs\muqsit\invmenu\session\PlayerNetwork->notify(integer 207367537000)
2020-06-18 [14:05:25] [Server thread/DEBUG]: #3 src/pocketmine/plugin/MethodEventExecutor(42): DaPigGuy\PiggyCrates\libs\muqsit\invmenu\InvMenuEventHandler->onDataPacketReceive(object pocketmine\event\server\DataPacketReceiveEvent)
2020-06-18 [14:05:25] [Server thread/DEBUG]: #4 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object DaPigGuy\PiggyCrates\libs\muqsit\invmenu\InvMenuEventHandler, object pocketmine\event\server\DataPacketReceiveEvent)
2020-06-18 [14:05:25] [Server thread/DEBUG]: #5 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\server\DataPacketReceiveEvent)
2020-06-18 [14:05:25] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\event\Event->call()
2020-06-18 [14:05:25] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/BatchPacket(126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\NetworkStackLatencyPacket)
2020-06-18 [14:05:25] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2020-06-18 [14:05:25] [Server thread/DEBUG]: #9 src/pocketmine/Player(3187): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2020-06-18 [14:05:25] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2020-06-18 [14:05:25] [Server thread/DEBUG]: #11 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 63.0.XXX.52 55280, object raklib\protocol\EncapsulatedPacket, integer 0)
2020-06-18 [14:05:25] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
2020-06-18 [14:05:25] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
2020-06-18 [14:05:25] [Server thread/DEBUG]: #14 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
2020-06-18 [14:05:25] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
2020-06-18 [14:05:25] [Server thread/DEBUG]: #16 src/pocketmine/Server(2154): pocketmine\snooze\SleeperHandler->sleepUntil(double 1592481925.1757)
2020-06-18 [14:05:25] [Server thread/DEBUG]: #17 src/pocketmine/Server(1991): pocketmine\Server->tickProcessor()
2020-06-18 [14:05:25] [Server thread/DEBUG]: #18 src/pocketmine/Server(1585): pocketmine\Server->start()
2020-06-18 [14:05:25] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
2020-06-18 [14:05:25] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(296): pocketmine\server()
2020-06-18 [14:05:25] [Server thread/DEBUG]: #21 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
2020-06-18 [14:05:25] [Server thread/INFO]: Mostafa2005True [-]
2020-06-18 [14:05:25] [Server thread/INFO]: Mostafa2005True[/63.0.XXX.52:55280] logged out due to Internal server error
2020-06-18 [14:05:25] [RakLibServer thread/NOTICE]: Blocked 63.0.XXX.52 for 5 seconds
Aericio commented 4 years ago

This commit should have fixed the error: https://github.com/DaPigGuy/PiggyCrates/commit/a2259e6aec96d3694f0a32f9a31b3d0e60394b7f