From 86165e027118cd83e829347eade8e468515ad79a Mon Sep 17 00:00:00 2001 From: Ben Spiers Date: Sun, 29 Sep 2013 04:08:07 +0100 Subject: [PATCH] An accidental infinite buildcraft power buffer for superconductors is not a good idea. --- src/resonantinduction/wire/multipart/PartWire.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resonantinduction/wire/multipart/PartWire.java b/src/resonantinduction/wire/multipart/PartWire.java index 309a52f71..9e5db5a30 100644 --- a/src/resonantinduction/wire/multipart/PartWire.java +++ b/src/resonantinduction/wire/multipart/PartWire.java @@ -188,7 +188,7 @@ public class PartWire extends PartUniversalConductor implements TSlottedPart, JN @Override public void doWork(PowerHandler workProvider) { - this.buildcraftBuffer = Compatibility.BC3_RATIO * 25 * this.getMaterial().maxAmps; + this.buildcraftBuffer = Compatibility.BC3_RATIO * 25 * Math.min(this.getMaterial().maxAmps, 100); this.powerHandler.configure(0, this.buildcraftBuffer, this.buildcraftBuffer, this.buildcraftBuffer * 2); super.doWork(workProvider); }