Some more forge code fixes

This commit is contained in:
cpw committed 2016-03-08 16:23:54 -05:00
1 parent befbb45522
commit fffbc0f078
4 files changed
+14 -6

No files matched your search

@@ -139,7 +139,7 @@ public class BlockSnapshot implements Serializable
public TileEntity getTileEntity()
{
if (nbt != null)
return TileEntity.createAndLoadEntity(nbt);
return TileEntity.func_184246_b(getWorld().getMinecraftServer(), nbt);
else return null;
}
@@ -170,7 +170,7 @@ public class BlockSnapshot implements Serializable
}
world.setBlockState(pos, replaced, applyPhysics ? 3 : 2);
world.markBlockForUpdate(pos);
world.func_184138_a(pos, current, replaced, applyPhysics ? 3 : 2);
TileEntity te = null;
if (nbt != null)
{
@@ -205,7 +205,7 @@ public class BlockSnapshot implements Serializable
}
world.setBlockState(pos, replaced, applyPhysics ? 3 : 2);
world.markBlockForUpdate(pos);
world.func_184138_a(pos, current, replaced, applyPhysics ? 3 : 2);
TileEntity te = null;
if (nbt != null)
{