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

By: md_5 <md_5@bigpond.com>
This commit is contained in:
CraftBukkit/Spigot 2012-03-15 17:55:19 +11:00
parent 26325dfa92
commit af07ac93b0

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;