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();
|
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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue