i'm with stupid
This commit is contained in:
parent
e85bc72ef2
commit
e3f9b8dc64
@ -656,11 +656,7 @@ class EnergyCableGraph : GraphNodeList<EnergyCableBlockEntity.Node, EnergyCableG
|
||||
val side = node.sides[relSide]!!
|
||||
|
||||
if (!side.isEnabled) {
|
||||
if (isMaster)
|
||||
itr.remove()
|
||||
else
|
||||
indicesToRemove.add(i)
|
||||
|
||||
indicesToRemove.add(i)
|
||||
livelyNodes.remove(pair)
|
||||
continue
|
||||
} else if (fromNode === node && side.side === fromSide) {
|
||||
@ -670,11 +666,7 @@ class EnergyCableGraph : GraphNodeList<EnergyCableBlockEntity.Node, EnergyCableG
|
||||
val it = side.neighbour.get()
|
||||
|
||||
if (it == null || it is EnergyCableBlockEntity.CableSide) {
|
||||
if (isMaster)
|
||||
itr.remove()
|
||||
else
|
||||
indicesToRemove.add(i)
|
||||
|
||||
indicesToRemove.add(i)
|
||||
livelyNodes.remove(pair)
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user