Fixed the Routing system so that it properly eliminates the connection to the Master node when the Master node is broken. Fixes #805
This commit is contained in:
parent
1d8a47ce1e
commit
e89cb61bf9
2 changed files with 6 additions and 0 deletions
|
@ -165,6 +165,11 @@ public class TileRoutingNode extends TileInventory implements IRoutingNode, IIte
|
|||
connectionList.remove(pos1);
|
||||
getWorld().notifyBlockUpdate(getPos(), getWorld().getBlockState(getPos()), getWorld().getBlockState(getPos()), 3);
|
||||
}
|
||||
|
||||
if (pos1.equals(masterPos))
|
||||
{
|
||||
this.masterPos = BlockPos.ORIGIN;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue