Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Fix the speed of the chemplant (again) (#864)
Browse files Browse the repository at this point in the history
* fix speed bonus

* simplify as requested
  • Loading branch information
chochem authored Apr 7, 2024
1 parent 04c3b1a commit 3b53231
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -509,11 +509,6 @@ public boolean explodesOnComponentBreak(final ItemStack aStack) {
return false;
}

// Same speed bonus as pyro oven
public int getSpeedBonus() {
return 50 * (this.mCoilTier + 1);
}

public int getMaxCatalystDurability() {
return 50;
}
Expand Down Expand Up @@ -607,7 +602,8 @@ protected CheckRecipeResult onRecipeStart(@NotNull GT_Recipe recipe) {
@Override
protected void setupProcessingLogic(ProcessingLogic logic) {
super.setupProcessingLogic(logic);
logic.setSpeedBonus(100F / (100F + getSpeedBonus()));
// Same speed bonus as pyro oven
logic.setSpeedBonus(2F / (1 + this.mCoilTier));
}

@Override
Expand Down

0 comments on commit 3b53231

Please sign in to comment.