aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/GoodGenerator/Blocks/TEs/NeutronActivator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/GoodGenerator/Blocks/TEs/NeutronActivator.java b/src/main/java/GoodGenerator/Blocks/TEs/NeutronActivator.java
index 05e8ac1c95..7ad537a5da 100644
--- a/src/main/java/GoodGenerator/Blocks/TEs/NeutronActivator.java
+++ b/src/main/java/GoodGenerator/Blocks/TEs/NeutronActivator.java
@@ -338,7 +338,7 @@ public class NeutronActivator extends GT_MetaTileEntity_MultiblockBase_EM implem
for (NeutronAccelerator tHatch : mNeutronAccelerator) {
if (tHatch.isRunning && this.getRepairStatus() == this.getIdealStatus()) {
anyWorking = true;
- this.eV += nextInt(tHatch.getMaxEUConsume(), tHatch.getMaxEUConsume() * 2 + 1) * 10 * Math.pow(0.95, height - 4);
+ this.eV += Math.max(nextInt(tHatch.getMaxEUConsume(), tHatch.getMaxEUConsume() * 2 + 1) * 10 * Math.pow(0.95, height - 4), 10);
}
}
if (!anyWorking) {