Fix ItemStackHandler's constructor ignoring size. Closes #3386
This commit is contained in:
parent
3ea027c3bd
commit
42a7036393
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ public class ItemStackHandler implements IItemHandler, IItemHandlerModifiable, I
|
||||||
|
|
||||||
public ItemStackHandler(int size)
|
public ItemStackHandler(int size)
|
||||||
{
|
{
|
||||||
stacks = NonNullList.func_191196_a();
|
stacks = NonNullList.func_191197_a(size, ItemStack.field_190927_a);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStackHandler(NonNullList<ItemStack> stacks)
|
public ItemStackHandler(NonNullList<ItemStack> stacks)
|
||||||
|
|
Loading…
Reference in a new issue