mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01: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:
parent
26325dfa92
commit
af07ac93b0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue