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

Inter When Two Player Usse Crate #78

Closed thinh2118 closed 3 years ago

thinh2118 commented 4 years ago

[Server thread/CRITICAL]: Error: "Call to a member function getInventoryFo rPlayer() on null" (EXCEPTION) in "plugins/PiggyCrates_v2.0.9.phar/src/DaPigGuy/Piggy Crates/libs/muqsit/invmenu/session/PlayerSession" at line 79 [00:59:30] [Server thread/CRITICAL]: #0 plugins/PiggyCrates_v2.0.9.phar/src/DaPigGuy/ PiggyCrates/libs/muqsit/invmenu/session/PlayerSession(106): DaPigGuy\PiggyCrates\libs \muqsit\invmenu\session\PlayerSession->sendWindow() [00:59:30] [Server thread/CRITICAL]: #1 plugins/PiggyCrates_v2.0.9.phar/src/DaPigGuy/ PiggyCrates/libs/muqsit/invmenu/session/PlayerNetwork(57): DaPigGuy\PiggyCrates\libs\ muqsit\invmenu\session\PlayerSession->DaPigGuy\PiggyCrates\libs\muqsit\invmenu\sessio n{closure}(boolean 1) [00:59:30] [Server thread/CRITICAL]: #2 plugins/PiggyCrates_v2.0.9.phar/src/DaPigGuy/ PiggyCrates/libs/muqsit/invmenu/InvMenuEventHandler(61): DaPigGuy\PiggyCrates\libs\mu qsit\invmenu\session\PlayerNetwork->notify(integer 1465766806000) [00:59:30] [Server thread/CRITICAL]: #3 src/pocketmine/plugin/MethodEventExecutor(42) : DaPigGuy\PiggyCrates\libs\muqsit\invmenu\InvMenuEventHandler->onDataPacketReceive(o bject pocketmine\event\server\DataPacketReceiveEvent) [00:59:30] [Server thread/CRITICAL]: #4 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object DaPigGuy\PiggyCrates\libs\muqs it\invmenu\InvMenuEventHandler, object pocketmine\event\server\DataPacketReceiveEvent ) [00:59:30] [Server thread/CRITICAL]: #5 src/pocketmine/event/Event(88): pocketmine\pl ugin\RegisteredListener->callEvent(object pocketmine\event\server\DataPacketReceiveEv ent) [00:59:30] [Server thread/CRITICAL]: #6 src/pocketmine/network/mcpe/PlayerNetworkSess ionAdapter(109): pocketmine\event\Event->call() [00:59:30] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/protocol/BatchPac ket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(objec t pocketmine\network\mcpe\protocol\NetworkStackLatencyPacket) [00:59:30] [Server thread/CRITICAL]: #8 src/pocketmine/network/mcpe/PlayerNetworkSess ionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmi ne\network\mcpe\PlayerNetworkSessionAdapter) [00:59:30] [Server thread/CRITICAL]: #9 src/pocketmine/Player(3250): pocketmine\netwo rk\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\ protocol\BatchPacket) [00:59:30] [Server thread/CRITICAL]: #10 src/pocketmine/network/mcpe/RakLibInterface( 169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\Bat chPacket) [00:59:30] [Server thread/CRITICAL]: #11 vendor/pocketmine/raklib/src/server/ServerHa ndler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 115 .76.50.248 32660, object raklib\protocol\EncapsulatedPacket, integer 0) [00:59:30] [Server thread/CRITICAL]: #12 src/pocketmine/network/mcpe/RakLibInterface( 109): raklib\server\ServerHandler->handlePacket() [00:59:30] [Server thread/CRITICAL]: #13 src/pocketmine/network/mcpe/RakLibInterface( 99): pocketmine\network\mcpe\RakLibInterface->process() [00:59:30] [Server thread/CRITICAL]: #14 vendor/pocketmine/snooze/src/SleeperHandler( 123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() [00:59:30] [Server thread/CRITICAL]: #15 vendor/pocketmine/snooze/src/SleeperHandler( 85): pocketmine\snooze\SleeperHandler->processNotifications() [00:59:30] [Server thread/CRITICAL]: #16 src/pocketmine/Server(2157): pocketmine\snoo ze\SleeperHandler->sleepUntil(double 1599933570.4311) [00:59:30] [Server thread/CRITICAL]: #17 src/pocketmine/Server(1994): pocketmine\Serv er->tickProcessor() [00:59:30] [Server thread/CRITICAL]: #18 src/pocketmine/Server(1588): pocketmine\Serv er->start() [00:59:30] [Server thread/CRITICAL]: #19 src/pocketmine/PocketMine(273): pocketmine\S erver->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string [50] C:\Users\Administrator\Desktop\SkyBlock MCBE 1.16\, string[58] C:\Users\Administ rator\Desktop\SkyBlock MCBE 1.16\plugins) [00:59:30] [Server thread/CRITICAL]: #20 src/pocketmine/PocketMine(304): pocketmine\s erver()

thinh2118 commented 4 years ago

@Aericio