ElectricBlocks now output to IC2 properly.

This commit is contained in:
Ben Spiers committed 2014-10-02 18:54:30 +01:00
1 parent 3e71622d95
commit f0b7f342b8
6 files changed
+42 -55

No files matched your search

@@ -251,17 +251,6 @@ public class BlockEnergyCube extends BlockContainer implements IPeripheralProvid
return itemStack;
}
@Override
public void onBlockAdded(World world, int x, int y, int z)
{
TileEntity tileEntity = world.getTileEntity(x, y, z);
if(!world.isRemote && MekanismUtils.useIC2())
{
((TileEntityElectricBlock)tileEntity).register();
}
}
public ItemStack dismantleBlock(World world, int x, int y, int z, boolean returnBlock)
{
ItemStack itemStack = getPickBlock(null, world, x, y, z);