Skip to content

Releases: Muqsit/InvMenu

v4.6.5

14 Aug 07:12
Compare
Choose a tag to compare
  • Added getter methods to retrieve menu listener and menu inventory close listener
    Added InvMenu::getListener(), InvMenu::getInventoryCloseListener().
    This allows developers to retrieve the current listener, extend its behavior, and then re-set it.
    This provides more flexibility in chaining or extending listener functionalities without losing the original behavior.
    $listener = $menu->getInventoryCloseListener();
    $menu->setInventoryCloseListener(function(Player $player, Inventory $inventory) use($listener) : void{
    	$listener($player, $inventory);
    	// place additional inventory close checks here
    });

v.4.6.4

17 Jul 06:36
Compare
Choose a tag to compare
  • Added support for Bedrock Edition v1.19.20: Fixed menus not opening after updating to Bedrock Edition v1.19.20 (#216, #218, #219, #223) (c597754, 5489dd3)
  • Dropped support for Bedrock Edition < v1.19.20

v4.6.1

01 Jun 11:22
Compare
Choose a tag to compare
  • Added support for PocketMine-MP v5.0.0
  • Dropped support for PocketMine-MP v4.x.x

v4.5.1

15 Apr 18:16
Compare
Choose a tag to compare
  • Fixed a bug that caused a double chest inventory to be sent to players when a single chest menu was opened at the position of an existing double chest (#207, thanks @OrBuilder)