Before you decide to break yourself you might want to make sure your the correct tile...

This commit is contained in:
AlgorithmX2 2014-01-01 03:04:03 -06:00
parent ab192bcdc5
commit faeebe8e60

View file

@ -83,7 +83,10 @@ public class TileCableBus extends AEBaseTile implements AEMultiTile, ICustomColl
{ {
super.onReady(); super.onReady();
if ( cb.isEmpty() ) if ( cb.isEmpty() )
worldObj.destroyBlock( xCoord, yCoord, zCoord, true ); {
if ( worldObj.getBlockTileEntity( xCoord, yCoord, zCoord ) == this )
worldObj.destroyBlock( xCoord, yCoord, zCoord, true );
}
else else
cb.addToWorld(); cb.addToWorld();
} }