Added armor detection inside DefaultInventory.onClick