CortexPE / TeaSpoon

☕ A PLUGIN to Extend PMMP's Functionality without completely changing it.
GNU Affero General Public License v3.0
143 stars 100 forks source link

Off-hand Crash #376

Closed ManiakMCPE closed 5 years ago

ManiakMCPE commented 5 years ago

When you place anything in your off-hand it kicks you

08.04 05:03:28 [Server] Server thread/INFO ManiakMCPE[/76.233.198.151:62627] logged out due to Internal server error 08.04 05:03:28 [Server] Server thread/INFO Unloading world "is-0.85926100 1554705094" 08.04 05:03:28 [Server] Server thread/DEBUG #17 (1): require(string phar:///PocketMine-MP.phar/src/pocketmine/PocketMine.php) 08.04 05:03:28 [Server] Server thread/DEBUG #16 src/pocketmine/PocketMine(250): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /, string /plugins/) 08.04 05:03:28 [Server] Server thread/DEBUG #15 src/pocketmine/Server(1765): pocketmine\Server->start() 08.04 05:03:28 [Server] Server thread/DEBUG #14 src/pocketmine/Server(2186): pocketmine\Server->tickProcessor() 08.04 05:03:28 [Server] Server thread/DEBUG #13 src/pocketmine/Server(2328): pocketmine\snooze\SleeperHandler->sleepUntil(double 1554714209.0176) 08.04 05:03:28 [Server] Server thread/DEBUG #12 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() 08.04 05:03:28 [Server] Server thread/DEBUG #11 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() 08.04 05:03:28 [Server] Server thread/DEBUG #10 src/pocketmine/network/mcpe/RakLibInterface(100): pocketmine\network\mcpe\RakLibInterface->process() 08.04 05:03:28 [Server] Server thread/DEBUG #9 src/pocketmine/network/mcpe/RakLibInterface(110): raklib\server\ServerHandler->handlePacket() 08.04 05:03:28 [Server] Server thread/DEBUG #8 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 76.233.198.151 62627, raklib\protocol\EncapsulatedPacket object, integer 0) 08.04 05:03:28 [Server] Server thread/DEBUG #7 src/pocketmine/network/mcpe/RakLibInterface(170): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 08.04 05:03:28 [Server] Server thread/DEBUG #6 src/pocketmine/Player(3114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 08.04 05:03:28 [Server] Server thread/DEBUG #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 08.04 05:03:28 [Server] Server thread/DEBUG #4 src/pocketmine/network/mcpe/protocol/BatchPacket(119): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(CortexPE\network\InventoryTransactionPacket object) 08.04 05:03:28 [Server] Server thread/DEBUG #3 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 08.04 05:03:28 [Server] Server thread/DEBUG #2 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(158): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(CortexPE\network\InventoryTransactionPacket object) 08.04 05:03:28 [Server] Server thread/DEBUG #1 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(149): pocketmine\Player->handleInventoryTransaction(CortexPE\network\InventoryTransactionPacket object) 08.04 05:03:28 [Server] Server thread/DEBUG #0 src/pocketmine/Player(2315): CortexPE\network\types\NetworkInventoryAction->createInventoryAction(pocketmine\Player object) 08.04 05:03:28 [Server] Server thread/CRITICAL InvalidStateException: "Player ManiakMCPE has no open container with window ID 119" (EXCEPTION) in "plugins/TeaSpoon-master/src/CortexPE/network/types/NetworkInventoryAction" at line 179

ManiakMCPE commented 5 years ago

so, is it not being fixed?

CortexPE commented 5 years ago

how do you even set off-hand?

I just tried it just now and it doesn't even work

CortexPE commented 5 years ago

no crashes

ManiakMCPE commented 5 years ago

arrows, shift click them or place them in your off-hand and you crash.

CortexPE commented 5 years ago

still no errors

I tested off-hand in vanilla MC:Bedrock... by pressing F (literally) while holding a totem of undying... it gets passed to off-hand...

But in PM, it simply does nothing. no errors.

ManiakMCPE commented 5 years ago

well, it happens to me and every other user of TeaSpoon. i provided the error.

ManiakMCPE commented 5 years ago

you're denying it exists but it obviously does.

CortexPE commented 5 years ago

Send video of you reproducing it then -.-

ManiakMCPE commented 5 years ago

https://www.youtube.com/watch?v=pwhCfy13I9M&feature=youtu.be

CortexPE commented 5 years ago

I did exactly that... The result: image

CortexPE commented 5 years ago

lol image