Fixed item crate subtypes

This commit is contained in:
Calclavia 2014-01-18 19:14:16 +08:00
parent 011f9b64fa
commit 946e54253f

View file

@ -16,6 +16,7 @@ public class ItemBlockCrate extends ItemBlock
public ItemBlockCrate(int par1) public ItemBlockCrate(int par1)
{ {
super(par1); super(par1);
this.setHasSubtypes(true);
} }
@Override @Override
@ -44,7 +45,7 @@ public class ItemBlockCrate extends ItemBlock
{ {
return 1; return 1;
} }
return super.getItemStackLimit(); return this.maxStackSize;
} }
@Override @Override