have on_mod_item_opened return the itemstack as well
Posted: Sun Jan 26, 2025 9:14 pm
I am running into an issue where a player can have several selection tools with a label inside their inventory, and i cannot tell which one the player tried to open.
I wish to store configuration data related to the item inside of it by mapping the number all items with label support and their descendants can have to somewhere in my global table, but regardless of that implementation there is currently simply just no way to tell which specific item the player opened.
I wish to store configuration data related to the item inside of it by mapping the number all items with label support and their descendants can have to somewhere in my global table, but regardless of that implementation there is currently simply just no way to tell which specific item the player opened.