From c90a7a52e7b6b11c698de6726cafae349649ba41 Mon Sep 17 00:00:00 2001 From: md_5 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 --- .../org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java index 7db0689fa2..8621fcf02a 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java +++ b/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;