Fix ctrl + pick block not working

This commit is contained in:
Raoul Van den Berge
2016-05-19 18:25:15 +02:00
parent 11cb8e55ca
commit 6e340b04e4
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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());