You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As for now, this is not possible. To make this work, I think we need to pass the underlying InventoryCloseEvent to the onClose method, either in the stateSnapshot or as a new, optional parameter.
We can't work with the Reason (as in just passing the Reason instead of the Event) since it seems to be a Paper only method.
I need to find out why the player closed the inventory, but there is no corresponding method, as in the InventoryCloseEvent event::getReason
The text was updated successfully, but these errors were encountered: