This commit is contained in:
DBotThePony 2025-01-18 16:01:06 +07:00
parent c36690fe94
commit 7846b3f5a4
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -141,7 +141,7 @@ class EnergyCableGraph : GraphNodeList<EnergyCableBlockEntity.Node, EnergyCableG
private fun checkThroughput() {
if (!throughputKnown) {
throughput = nodes.maxOfOrNull { it.energyThroughput } ?: Decimal.ZERO
throughput = nodes.minOfOrNull { it.energyThroughput } ?: Decimal.ZERO
throughputKnown = true
}
}