Adding the ability to disable an item to prevent the execution of its action when a user clicks on it. More precisely, the following methods have been added to the InventoryItem interface:
void enable() to enable the item.
void disable() to disable the item.
boolean isEnabled() to check if the item is enabled or not.