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

@ -13,6 +13,12 @@ public class ItemBOPRedRock extends ItemBlock
setMaxDamage(0); setMaxDamage(0);
setHasSubtypes(true); setHasSubtypes(true);
} }
@Override
public int getMetadata(int meta)
{
return meta & 15;
}
@Override @Override
public String getUnlocalizedName(ItemStack itemstack) { public String getUnlocalizedName(ItemStack itemstack) {