From 6f828573ecbb5d22addbf5c975fc532e3f6ddd4c Mon Sep 17 00:00:00 2001 From: Tech22 Date: Sat, 14 Aug 2021 12:49:04 -0400 Subject: [PATCH] change distillation EUt to reflect config --- .../recipes/builders/UniversalDistillationRecipeBuilder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/gregtech/api/recipes/builders/UniversalDistillationRecipeBuilder.java b/src/main/java/gregtech/api/recipes/builders/UniversalDistillationRecipeBuilder.java index 57d5e7b2a42..8ad49834932 100644 --- a/src/main/java/gregtech/api/recipes/builders/UniversalDistillationRecipeBuilder.java +++ b/src/main/java/gregtech/api/recipes/builders/UniversalDistillationRecipeBuilder.java @@ -6,6 +6,7 @@ import gregtech.api.recipes.RecipeMaps; import gregtech.api.util.GTUtility; import gregtech.api.util.ValidationResult; +import gregtech.common.ConfigHolder; import net.minecraft.item.ItemStack; import net.minecraftforge.fluids.FluidStack; @@ -41,7 +42,7 @@ public void buildAndRegister() { int ratio = getRatioForDistillery(this.fluidInputs.get(0), this.fluidOutputs.get(i), this.outputs.size() > 0 ? this.outputs.get(0) : null); - int recipeDuration = this.EUt > 16 ? (int) (this.duration * 2.8f) : this.duration * 2; + int recipeDuration = (int) (this.duration * ConfigHolder.U.overclockDivisor); boolean shouldDivide = ratio != 1;