Fixed #0200 - Storage Bus Doesn't Connect to BC Pipe

This commit is contained in:
AlgorithmX2 2014-03-17 22:58:03 -05:00
parent b336bc9b4d
commit 919b90ea41
2 changed files with 5 additions and 2 deletions

View file

@ -425,7 +425,8 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds
@Override @Override
public void partChanged() public void partChanged()
{ {
// nothing! if ( worldObj != null )
worldObj.notifyBlocksOfNeighborChange( xCoord, yCoord, zCoord, Platform.air );
} }
@Override @Override

View file

@ -33,6 +33,7 @@ import appeng.parts.CableBusContainer;
import appeng.tile.AEBaseTile; import appeng.tile.AEBaseTile;
import appeng.tile.events.AETileEventHandler; import appeng.tile.events.AETileEventHandler;
import appeng.tile.events.TileEventType; import appeng.tile.events.TileEventType;
import appeng.util.Platform;
import cpw.mods.fml.common.Optional.Method; import cpw.mods.fml.common.Optional.Method;
public class TileCableBus extends AEBaseTile implements AEMultiTile, ICustomCollision public class TileCableBus extends AEBaseTile implements AEMultiTile, ICustomCollision
@ -248,7 +249,8 @@ public class TileCableBus extends AEBaseTile implements AEMultiTile, ICustomColl
@Override @Override
public void partChanged() public void partChanged()
{ {
// nothing! if ( worldObj != null )
worldObj.notifyBlocksOfNeighborChange( xCoord, yCoord, zCoord, Platform.air );
} }
@Override @Override