Configurator's "empty" mode now only works on Mekanism container blocks
This commit is contained in:
parent
425f0c27c3
commit
2c53ce6956
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue