diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/cable/EnergyCableGraph.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/cable/EnergyCableGraph.kt index 13edd418c..b022c8e24 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/cable/EnergyCableGraph.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/cable/EnergyCableGraph.kt @@ -477,7 +477,7 @@ class EnergyCableGraph : GraphNodeList { - if (!a.canTraverse || !b.canTraverse) + if (!a.canTraverse || !b.canTraverse || energyToTransfer <= Decimal.ZERO) return listOf() if (searchedOnTick != UNIVERSE_TICKS) { @@ -558,7 +558,7 @@ class EnergyCableGraph : GraphNodeList