Fixed issue #41.
This commit is contained in:
parent
524eaf27d7
commit
53de38ad99
1 changed files with 6 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue