Skip to content

Commit 6f82857

Browse files
committed
change distillation EUt to reflect config
1 parent 9e10cf2 commit 6f82857

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/gregtech/api/recipes/builders/UniversalDistillationRecipeBuilder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import gregtech.api.recipes.RecipeMaps;
77
import gregtech.api.util.GTUtility;
88
import gregtech.api.util.ValidationResult;
9+
import gregtech.common.ConfigHolder;
910
import net.minecraft.item.ItemStack;
1011
import net.minecraftforge.fluids.FluidStack;
1112

@@ -41,7 +42,7 @@ public void buildAndRegister() {
4142

4243
int ratio = getRatioForDistillery(this.fluidInputs.get(0), this.fluidOutputs.get(i), this.outputs.size() > 0 ? this.outputs.get(0) : null);
4344

44-
int recipeDuration = this.EUt > 16 ? (int) (this.duration * 2.8f) : this.duration * 2;
45+
int recipeDuration = (int) (this.duration * ConfigHolder.U.overclockDivisor);
4546

4647
boolean shouldDivide = ratio != 1;
4748

0 commit comments

Comments
 (0)