Before you decide to break yourself you might want to make sure your the correct tile...
This commit is contained in:
parent
ab192bcdc5
commit
faeebe8e60
1 changed files with 4 additions and 1 deletions
|
@ -83,7 +83,10 @@ public class TileCableBus extends AEBaseTile implements AEMultiTile, ICustomColl
|
|||
{
|
||||
super.onReady();
|
||||
if ( cb.isEmpty() )
|
||||
worldObj.destroyBlock( xCoord, yCoord, zCoord, true );
|
||||
{
|
||||
if ( worldObj.getBlockTileEntity( xCoord, yCoord, zCoord ) == this )
|
||||
worldObj.destroyBlock( xCoord, yCoord, zCoord, true );
|
||||
}
|
||||
else
|
||||
cb.addToWorld();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue