From c44c41ef02307f87bd978a6021a10d9b3d751d5e Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 4 Mar 2016 17:18:31 +1100 Subject: SPIGOT-1724: Update InventoryType.PLAYER size. --- src/main/java/org/bukkit/event/inventory/InventoryType.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main/java/org') diff --git a/src/main/java/org/bukkit/event/inventory/InventoryType.java b/src/main/java/org/bukkit/event/inventory/InventoryType.java index eef00be9..43be5336 100644 --- a/src/main/java/org/bukkit/event/inventory/InventoryType.java +++ b/src/main/java/org/bukkit/event/inventory/InventoryType.java @@ -39,10 +39,11 @@ public enum InventoryType { */ BREWING(5,"Brewing"), /** - * A player's inventory, with 9 QUICKBAR slots, 27 CONTAINER slots, and 4 - * ARMOR slots. The ARMOUR slots may not be visible to the player, though. + * A player's inventory, with 9 QUICKBAR slots, 27 CONTAINER slots, 4 ARMOR + * slots and 1 offhand slot. The ARMOR and offhand slots may not be visible + * to the player, though. */ - PLAYER(36,"Player"), + PLAYER(41,"Player"), /** * The creative mode inventory, with only 9 QUICKBAR slots and nothing * else. (The actual creative interface with the items is client-side and -- cgit v1.2.3