From af07ac93b09a5bdc1cdaff14b3a8a1d2c304921c Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Thu, 15 Mar 2012 17:55:19 +1100 Subject: [PATCH] [Bleeding] Fixed maxStack being incorrectly set to 0 in custom craft inventories. Fixes BUKKIT-1181 By: md_5 --- .../org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java index 7db0689fa2..8621fcf02a 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java @@ -27,7 +27,7 @@ public class CraftInventoryCustom extends CraftInventory { static class MinecraftInventory implements IInventory { private ItemStack[] items; - private int maxStack; + private int maxStack = 64; private List viewers; private String title; private InventoryType type;