Skip to content

Commit f73b285

Browse files
authored
Fix inverted condition in OC check (GregTechCEu#2827)
1 parent 0f6ef3d commit f73b285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/gregtech/api/capability/impl/AbstractRecipeLogic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ public boolean isAllowOverclocking() {
11231123
public void setMaximumOverclockVoltage(final long overclockVoltage) {
11241124
this.overclockVoltage = overclockVoltage;
11251125
// Overclocking is not allowed if the passed voltage is <= LV
1126-
this.allowOverclocking = (overclockVoltage <= GTValues.V[GTValues.LV]);
1126+
this.allowOverclocking = (overclockVoltage > GTValues.V[GTValues.LV]);
11271127
}
11281128

11291129
/**

0 commit comments

Comments
 (0)