Closed Wertzui123 closed 4 years ago
Sourcode:
$ui = InvMenu::create(InvMenu::TYPE_CHEST); $ui->setListener(function (Player $player, Item $clickedOn, Item $clickedWith, SlotChangeAction $action) { $player->removeWindow($action->getInventory()); }); $ui->send($player);
Expected result: An inventory which closes when you move an item into it.
Actual result: When you move an item into the inventory, it closes, the client starts freezing and crashes after a few seconds.
Software and hardware information: PocketMine: 3.14.2 InvMenu: Latest version (downloaded using git clone) Tested on: Windows 10, Android
Duplicate of #84
Sourcode:
Expected result: An inventory which closes when you move an item into it.
Actual result: When you move an item into the inventory, it closes, the client starts freezing and crashes after a few seconds.
Software and hardware information: PocketMine: 3.14.2 InvMenu: Latest version (downloaded using git clone) Tested on: Windows 10, Android