Skip to content

Commit

Permalink
<=
Browse files Browse the repository at this point in the history
  • Loading branch information
ghzdude committed Dec 11, 2023
1 parent 055ce6a commit 1565875
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected void formStructure(PatternMatchContext context) {
protected long getMaxVoltage() {
long maxProduction = recipeMapWorkable.getMaxVoltage();
long currentProduction = ((LargeTurbineWorkableHandler) recipeMapWorkable).boostProduction((int) maxProduction);
if (isActive() && currentProduction < maxProduction) {
if (isActive() && currentProduction <= maxProduction) {
return recipeMapWorkable.getMaxVoltage();
} else {
return 0L;
Expand Down

0 comments on commit 1565875

Please sign in to comment.