From 398a5d169ca0b4d37c6faa998660d46db691aba0 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 4 Mar 2016 17:18:31 +1100 Subject: [PATCH] SPIGOT-1724: Update InventoryType.PLAYER size. By: md_5 --- .../java/org/bukkit/event/inventory/InventoryType.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/event/inventory/InventoryType.java b/paper-api/src/main/java/org/bukkit/event/inventory/InventoryType.java index eef00be96d..43be53361b 100644 --- a/paper-api/src/main/java/org/bukkit/event/inventory/InventoryType.java +++ b/paper-api/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