3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 04:50:06 +01:00

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

Dieser Commit ist enthalten in:
md_5 2012-03-15 17:55:19 +11:00 committet von EvilSeph
Ursprung 4503167283
Commit c90a7a52e7

Datei anzeigen

@ -27,7 +27,7 @@ public class CraftInventoryCustom extends CraftInventory {
static class MinecraftInventory implements IInventory { static class MinecraftInventory implements IInventory {
private ItemStack[] items; private ItemStack[] items;
private int maxStack; private int maxStack = 64;
private List<HumanEntity> viewers; private List<HumanEntity> viewers;
private String title; private String title;
private InventoryType type; private InventoryType type;