aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java
index 52edbc8a96..37592a3d9f 100644
--- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java
+++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java
@@ -1496,7 +1496,7 @@ public class GT_MetaTileEntity_EM_EyeOfHarmony extends GT_MetaTileEntity_Multibl
+ " L");
}
BigInteger euPerTick = (outputEU_BigInt.subtract(usedEU.abs()))
- .divide(BigInteger.valueOf(maxProgresstime()));
+ .divide(BigInteger.valueOf(Math.max(maxProgresstime(), 1)));
if (abs(euPerTick.longValue()) < LongMath.pow(10, 12)) {
str.add("Estimated EU/t: " + RED + formatNumbers(euPerTick) + RESET + " EU/t");
} else {