Fixed Turbines unable to be formed in other dimensions

This commit is contained in:
aidancbrady committed 2016-05-28 02:24:50 -04:00
1 parent 02d2aa1550
commit 985e5afbfc
11 files changed
+16 -16

No files matched your search

@@ -854,7 +854,7 @@ public final class MekanismUtils
*/
public static void updateBlock(World world, int x, int y, int z)
{
Coord4D pos = new Coord4D(x, y, z);
Coord4D pos = new Coord4D(x, y, z, world.provider.dimensionId);
if(!(pos.getTileEntity(world) instanceof IActiveState) || ((IActiveState)pos.getTileEntity(world)).renderUpdate())
{
world.func_147479_m(pos.xCoord, pos.yCoord, pos.zCoord);