From 6bc2ae8e14c07f25bc765bc6064a38185f3798b5 Mon Sep 17 00:00:00 2001 From: NeverCast Date: Sat, 17 Nov 2012 16:19:35 +1300 Subject: [PATCH] Fixed game breaking power bug --- common/buildcraft/transport/PipeTransportPower.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buildcraft/transport/PipeTransportPower.java b/common/buildcraft/transport/PipeTransportPower.java index a940ac40..e35362e8 100644 --- a/common/buildcraft/transport/PipeTransportPower.java +++ b/common/buildcraft/transport/PipeTransportPower.java @@ -184,7 +184,7 @@ public class PipeTransportPower extends PipeTransport { internalPower = internalNextPower; internalNextPower = next; for (int i = 0; i < nextPowerQuery.length; i++) { - if (powerQuery[i] == 0.0d) { + if (powerQuery[i] == 0.0d && internalNextPower[i] > 0) { internalNextPower[i]-=1; } }