Closed teracube closed 5 years ago
pocketmine\block\Chest::onActivate()
(teaspoon doesn't modify chests iirc)today same error with same player with latest PMMP build
https://poggit.pmmp.io/r/44584/TeaSpoon_dev-256.phar https://jenkins.pmmp.io/job/PocketMine-MP/1642/artifact/PocketMine-MP.phar
2018-11-13 [22:34:44] [Server thread/CRITICAL]: Error: "Call to a member function getBlock() on null" (EXCEPTION) in "src/pocketmine/block/Chest" at line 116
2018-11-13 [22:34:44] [Server thread/DEBUG]: #0 src/pocketmine/level/Level(1787): pocketmine\block\Chest->onActivate(pocketmine\item\ItemBlock object, pocketmine\Player object)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #1 src/pocketmine/Player(2367): pocketmine\level\Level->useItemOn(pocketmine\math\Vector3 object, pocketmine\item\ItemBlock object, integer 5, pocketmine\math\Vector3 object, pocketmine\Player object, boolean 1)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #2 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(136): pocketmine\Player->handleInventoryTransaction(CortexPE\network\InventoryTransactionPacket object)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #3 TeaSpoon_dev-256.phar/src/CortexPE/network/InventoryTransactionPacket(81): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(CortexPE\network\InventoryTransactionPacket object)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(96): CortexPE\network\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(CortexPE\network\InventoryTransactionPacket object)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(96): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #7 src/pocketmine/Player(3060): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/RakLibInterface(161): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #9 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 90.XXX.XX.145 58136, raklib\protocol\EncapsulatedPacket object, integer 0)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/RakLibInterface(102): raklib\server\ServerHandler->handlePacket()
2018-11-13 [22:34:44] [Server thread/DEBUG]: #11 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
2018-11-13 [22:34:44] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(92): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #13 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
2018-11-13 [22:34:44] [Server thread/DEBUG]: #14 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
2018-11-13 [22:34:44] [Server thread/DEBUG]: #15 src/pocketmine/Server(2268): pocketmine\snooze\SleeperHandler->sleepUntil(double 1542144884.791)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #16 src/pocketmine/Server(2135): pocketmine\Server->tickProcessor()
2018-11-13 [22:34:44] [Server thread/DEBUG]: #17 src/pocketmine/Server(1701): pocketmine\Server->start()
2018-11-13 [22:34:44] [Server thread/DEBUG]: #18 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
2018-11-13 [22:34:44] [Server thread/DEBUG]: #19 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
2018-11-13 [22:34:44] [RakLibServer thread/NOTICE]: Blocked 90.XXX.XX.145 for 5 seconds
@CortexPE @larryTheCoder
issue with latest build thanks
https://poggit.pmmp.io/r/44084/TeaSpoon_dev-256.phar https://jenkins.pmmp.io/job/PocketMine-MP/1604/