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:
WayofTime 2016-06-17 09:55:30 -04:00
parent 1d8a47ce1e
commit e89cb61bf9
2 changed files with 6 additions and 0 deletions

View file

@ -2,6 +2,7 @@
Version 2.0.2-45
------------------------------------------------------
- Changed the recipe of the Sanguine Scientiem
- Fixed the Routing system so that it properly eliminates the connection to the Master node when the Master node is broken.
------------------------------------------------------
Version 2.0.2-44

View file

@ -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