IF
IF copied to clipboard
Avoid saving a GuiItem's UUID if it doesn't have an action
Title says it all.
This is useful when items don't have an action at all, for example in a GUI in which a player can grab items and put them in their inventory. Having the UUID in the item's data prevents it from stacking with other items of the same type.
Relates to #2016.