Don't remove self from lively nodes when all we can do is self-feed
This commit is contained in:
parent
a162caefb6
commit
6be24540a5
@ -96,8 +96,10 @@ class EnergyCableGraph : GraphNodeList<EnergyCableBlockEntity.Node, EnergyCableG
|
||||
|
||||
for (side in node.sides.values) {
|
||||
if (side.isEnabled) {
|
||||
if (fromNode === node && side.side === fromSide)
|
||||
if (fromNode === node && side.side === fromSide) {
|
||||
hit = true
|
||||
continue
|
||||
}
|
||||
|
||||
side.neighbour.get().ifPresentK {
|
||||
if (it !is EnergyCableBlockEntity.CableSide) {
|
||||
|
Loading…
Reference in New Issue
Block a user