[Bleeding] Fixed maxStack being incorrectly set to 0 in custom craft inventories. Fixes BUKKIT-1181

This commit is contained in:
md_5 2012-03-15 17:55:19 +11:00 committed by EvilSeph
parent 4503167283
commit c90a7a52e7

View File

@ -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<HumanEntity> viewers;
private String title;
private InventoryType type;