aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorGTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>2022-12-24 08:35:53 +0000
committerGTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>2022-12-24 08:35:53 +0000
commit8f0edbc219e6c81753a371b8a790a1e79d4f0591 (patch)
tree70181412f4a79654ca1a066f84755be9159cbd43 /src/main/java
parent0a493cc8d771f80245228e0a3eebabed1aa2406c (diff)
downloadGT5-Unofficial-8f0edbc219e6c81753a371b8a790a1e79d4f0591.tar.gz
GT5-Unofficial-8f0edbc219e6c81753a371b8a790a1e79d4f0591.tar.bz2
GT5-Unofficial-8f0edbc219e6c81753a371b8a790a1e79d4f0591.zip
Small fixes
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipe.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipe.java b/src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipe.java
index 1bc08fcda6..97b07fe071 100644
--- a/src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipe.java
+++ b/src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipe.java
@@ -133,8 +133,8 @@ public class EyeOfHarmonyRecipe {
long plasmaEU = plasmaCostCalculator(outputFluids);
long VM3EU = miningTimeSeconds * pow(2, 19) * 20;
- this.euOutput = standardRecipeEUOutPerTick * 20 * miningTimeSeconds;
- this.euStartCost = (long) (plasmaEU + VM3EU + this.euOutput * recipeEnergyEfficiency);
+ this.euStartCost = (plasmaEU + VM3EU + standardRecipeEUOutPerTick * 20 * miningTimeSeconds);
+ this.euOutput = (long) (euStartCost * recipeEnergyEfficiency);
}
public EyeOfHarmonyRecipe(
@@ -265,9 +265,7 @@ public class EyeOfHarmonyRecipe {
});
// Iterate over small ores in dimension and add them, kinda hacky but works and is close enough.
- smallOreDimWrapper.oreVeinToProbabilityInDimension.forEach((veinInfo, probability) -> {
- processHelper(outputMap, veinInfo.getOreMaterial(), mainMultiplier, probability);
- });
+ smallOreDimWrapper.oreVeinToProbabilityInDimension.forEach((veinInfo, probability) -> processHelper(outputMap, veinInfo.getOreMaterial(), mainMultiplier, probability));
ArrayList<Pair<Materials, Long>> outputList = new ArrayList<>();