Fixed Issue #703; Blocks with MetaData being reset to 0
This commit is contained in:
parent
ce385bd9a6
commit
3f5fd16f87
|
@ -77,7 +77,7 @@ public class ItemSigilTransposition extends ItemSigilBase
|
||||||
|
|
||||||
NBTTagCompound tileNBTTag = new NBTTagCompound();
|
NBTTagCompound tileNBTTag = new NBTTagCompound();
|
||||||
String blockName = rightClickedBlock.getBlock().getRegistryName().toString();
|
String blockName = rightClickedBlock.getBlock().getRegistryName().toString();
|
||||||
byte metadata = (byte) stack.getMetadata();
|
byte metadata = (byte) rightClickedBlock.getMeta();
|
||||||
|
|
||||||
if (world.getTileEntity(blockPos) != null)
|
if (world.getTileEntity(blockPos) != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue