We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8288ff0 commit 346ce2cCopy full SHA for 346ce2c
src/main/java/gregtech/api/capability/impl/RecipeLogicSteam.java
@@ -160,11 +160,11 @@ protected void completeRecipe() {
160
161
@Override
162
protected int[] calculateOverclock(int EUt, long voltage, int duration) {
163
- if (!isHighPressure) {
164
- //disallow overclocking for low pressure bronze machines
165
- return new int[]{EUt, duration};
166
- }
167
- return super.calculateOverclock(EUt, voltage, duration);
+ // double duration for normal Steam machines, double EUt for HP Steam
+ return new int[]{
+ isHighPressure ? EUt * 2 : EUt,
+ isHighPressure ? duration : duration * 2
+ };
168
}
169
170
0 commit comments