Closed xyndex closed 1 year ago
You can use a Listener as normal, the built-in SGMenuListener
shows how this can be done.
Specifically, you can see on lines 87 - 95 how to test if an inventory is an SGMenu
and how to get the SGMenu
in question:
How to use another events except InventoryClickEvent one's?