Fixes
This commit is contained in:
@@ -298,6 +298,6 @@ public class RefinedStorageUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void reRenderBlock(World world, BlockPos pos) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
controllerIsCached = nbt.hasKey(NBT_CONTROLLER_X) && nbt.hasKey(NBT_CONTROLLER_Y) && nbt.hasKey(NBT_CONTROLLER_Z);
|
||||||
|
|
||||||
if (controllerIsCached) {
|
if (controllerIsCached) {
|
||||||
System.out.println("Getting from cache");
|
|
||||||
controllerX = nbt.getInteger(NBT_CONTROLLER_X);
|
controllerX = nbt.getInteger(NBT_CONTROLLER_X);
|
||||||
controllerY = nbt.getInteger(NBT_CONTROLLER_Y);
|
controllerY = nbt.getInteger(NBT_CONTROLLER_Y);
|
||||||
controllerZ = nbt.getInteger(NBT_CONTROLLER_Z);
|
controllerZ = nbt.getInteger(NBT_CONTROLLER_Z);
|
||||||
|
|||||||
Reference in New Issue
Block a user