From 00e79dfb22a92b33516663da221a3362a2c122ba Mon Sep 17 00:00:00 2001 From: masmc05 <63639746+masmc05@users.noreply.github.com> Date: Mon, 30 Jun 2025 20:32:05 +0300 Subject: [PATCH] Fix wrong size in InventoryType#PLAYER (#12758) --- .../java/org/bukkit/event/inventory/InventoryType.java | 8 +++++--- 1 file changed, 5 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 81118a91c2..54ff294e64 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 @@ -62,10 +62,12 @@ public enum InventoryType { BREWING(5, "Brewing", MenuType.BREWING_STAND), /** * 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. + * slots, 1 offhand slot, 1 body slot and 1 saddle slot. + *
+ * The ARMOR and offhand slots are conditionally visible to the player, + * while body and saddle slot are never visible. */ - PLAYER(41, "Player", MenuType.GENERIC_9X4), + PLAYER(43, "Player", MenuType.GENERIC_9X4), /** * The creative mode inventory, with only 9 QUICKBAR slots and nothing * else. (The actual creative interface with the items is client-side and