This commit is contained in:
Raoul Van den Berge
2016-05-15 11:53:13 +02:00
parent bea4f993af
commit b3aa2182de
2 changed files with 1 additions and 2 deletions

View File

@@ -298,6 +298,6 @@ public class RefinedStorageUtils {
}
public static void reRenderBlock(World world, BlockPos pos) {
world.notifyBlockUpdate(pos, world.getBlockState(pos), world.getBlockState(pos), 1 | 2);
world.notifyBlockUpdate(pos, world.getBlockState(pos), world.getBlockState(pos), 3);
}
}

View File

@@ -161,7 +161,6 @@ public abstract class TileMachine extends TileBase implements ISynchronizedConta
controllerIsCached = nbt.hasKey(NBT_CONTROLLER_X) && nbt.hasKey(NBT_CONTROLLER_Y) && nbt.hasKey(NBT_CONTROLLER_Z);
if (controllerIsCached) {
System.out.println("Getting from cache");
controllerX = nbt.getInteger(NBT_CONTROLLER_X);
controllerY = nbt.getInteger(NBT_CONTROLLER_Y);
controllerZ = nbt.getInteger(NBT_CONTROLLER_Z);