Fixed issue #41.

This commit is contained in:
Amnet 2013-05-02 20:29:59 +02:00
parent 524eaf27d7
commit 53de38ad99
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,12 @@ public class ItemBOPRedRock extends ItemBlock
setHasSubtypes(true);
}
@Override
public int getMetadata(int meta)
{
return meta & 15;
}
@Override
public String getUnlocalizedName(ItemStack itemstack) {
return types[itemstack.getItemDamage() & 15];