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
What exactly is your use case? Because there is already a GuiStorageElement#setApplyStorage(Runnable) with which you can define what should happen whenever an item was changed. Theoretically one could also back the element with a custom Inventory class to get even more information about what is changed.
Currently there is no context, it's meant to be used to save the whole inventory. I guess it could be possible to expose some more information about which item changed there in that but that should already be possible by simply using a custom class which implements Bukkit's Inventory
When interacted with gui storage element, we should be able to handle the event
The text was updated successfully, but these errors were encountered: