Fix ctrl + pick block not working
This commit is contained in:
@@ -19,7 +19,7 @@ import refinedstorage.proxy.CommonProxy;
|
||||
@Mod(modid = RefinedStorage.ID, version = RefinedStorage.VERSION)
|
||||
public final class RefinedStorage {
|
||||
public static final String ID = "refinedstorage";
|
||||
public static final String VERSION = "0.6.7";
|
||||
public static final String VERSION = "0.6.8";
|
||||
|
||||
public static final SimpleNetworkWrapper NETWORK = NetworkRegistry.INSTANCE.newSimpleChannel(ID);
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ public abstract class TileMachine extends TileBase implements ISynchronizedConta
|
||||
|
||||
nbt.setInteger(RedstoneMode.NBT, redstoneMode.id);
|
||||
|
||||
if (connected) {
|
||||
if (controller != null && connected) {
|
||||
nbt.setInteger(NBT_CONTROLLER_X, controller.getPos().getX());
|
||||
nbt.setInteger(NBT_CONTROLLER_Y, controller.getPos().getY());
|
||||
nbt.setInteger(NBT_CONTROLLER_Z, controller.getPos().getZ());
|
||||
|
||||
Reference in New Issue
Block a user