Fixed item crate subtypes
This commit is contained in:
parent
011f9b64fa
commit
946e54253f
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ public class ItemBlockCrate extends ItemBlock
|
|||
public ItemBlockCrate(int par1)
|
||||
{
|
||||
super(par1);
|
||||
this.setHasSubtypes(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -44,7 +45,7 @@ public class ItemBlockCrate extends ItemBlock
|
|||
{
|
||||
return 1;
|
||||
}
|
||||
return super.getItemStackLimit();
|
||||
return this.maxStackSize;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue