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 b7fefc158..a5fde294b 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 @@ -68,7 +68,7 @@ class EnergyCableGraph : GraphNodeList() - private var shortCircuit = false + var shortCircuit = false private var lastTickTransfers = 0 private var lastTick = 0 @@ -516,6 +516,7 @@ class EnergyCableGraph : GraphNodeList Decimal.ZERO) { + LOGGER.warn("Cable path from $fromNode to $node doesn't follow common sense, disabling.") + paths.forEach { it.shortCircuit = true } + } } }