summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-03-04 17:18:31 +1100
committermd_5 <git@md-5.net>2016-03-04 17:18:31 +1100
commitc44c41ef02307f87bd978a6021a10d9b3d751d5e (patch)
tree00c1d841f154f6ab52d6d60f31fe900dcee68ea9
parent7d83cba0f2575112577ed7a091ed8a193bfc261a (diff)
downloadbukkit-c44c41ef02307f87bd978a6021a10d9b3d751d5e.tar
bukkit-c44c41ef02307f87bd978a6021a10d9b3d751d5e.tar.gz
bukkit-c44c41ef02307f87bd978a6021a10d9b3d751d5e.tar.lz
bukkit-c44c41ef02307f87bd978a6021a10d9b3d751d5e.tar.xz
bukkit-c44c41ef02307f87bd978a6021a10d9b3d751d5e.zip
SPIGOT-1724: Update InventoryType.PLAYER size.
-rw-r--r--src/main/java/org/bukkit/event/inventory/InventoryType.java7
1 files changed, 4 insertions, 3 deletions
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