Before you decide to break yourself you might want to make sure your the correct tile...
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user