Fixed Issue #703; Blocks with MetaData being reset to 0

This commit is contained in:
lazerzes 2016-05-02 20:45:38 -04:00
parent ce385bd9a6
commit 3f5fd16f87

View file

@ -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)
{ {