Closed MHIGists closed 1 year ago
Wanted to use InventoryCloseEvent but it never gets called when closing Player's inventory
public function onInventoryClose(InventoryCloseEvent $event){ echo '==========================================================' . }
DevTools v1.16.0, FormAPI v2.1.0
The player is always viewing its own inventory, so there's no event to be called.
Issue description
Wanted to use InventoryCloseEvent but it never gets called when closing Player's inventory
Steps to reproduce the issue
public function onInventoryClose(InventoryCloseEvent $event){ echo '==========================================================' . }
OS and versions
Plugins
DevTools v1.16.0, FormAPI v2.1.0