mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 04:33:56 -07:00
[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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user