From 2c53ce6956d214a938cde06ca4dead12013d4ac8 Mon Sep 17 00:00:00 2001 From: "Aidan C. Brady" Date: Wed, 15 Apr 2015 12:44:52 -0400 Subject: [PATCH] Configurator's "empty" mode now only works on Mekanism container blocks --- src/main/java/mekanism/common/item/ItemConfigurator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/mekanism/common/item/ItemConfigurator.java b/src/main/java/mekanism/common/item/ItemConfigurator.java index 8ad47d32e..0e1deb40f 100644 --- a/src/main/java/mekanism/common/item/ItemConfigurator.java +++ b/src/main/java/mekanism/common/item/ItemConfigurator.java @@ -16,6 +16,7 @@ import mekanism.common.SideData; import mekanism.common.base.ISideConfiguration; import mekanism.common.network.PacketTileEntity.TileEntityMessage; import mekanism.common.tile.TileEntityBasicBlock; +import mekanism.common.tile.TileEntityContainerBlock; import mekanism.common.tile.TileEntityElectricChest; import mekanism.common.util.MekanismUtils; import net.minecraft.block.Block; @@ -111,7 +112,7 @@ public class ItemConfigurator extends ItemEnergized implements IMekWrench, ITool } else if(getState(stack) == ConfiguratorMode.EMPTY) //Empty { - if(tile instanceof IInventory) + if(tile instanceof TileEntityContainerBlock) { IInventory inv = (IInventory)tile;