Skip to content

Commit

Permalink
Fixed import errors related to Alchemy data in AdvancedConfig (#4983)
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoCardinali committed Mar 11, 2024
1 parent 7da8c8c commit 04ed2a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/com/gmail/nossr50/config/AdvancedConfig.java
Expand Up @@ -627,7 +627,11 @@ public double getGracefulRollDamageThreshold() {

/* ALCHEMY */
public int getCatalysisMaxBonusLevel() {
return config.getInt("Skills.Alchemy.Catalysis.MaxBonusLevel", 1000);
if (mcMMO.isRetroModeEnabled()) {
return config.getInt("Skills.Alchemy.Catalysis.MaxBonusLevel.RetroMode", 1000);
} else {
return config.getInt("Skills.Alchemy.Catalysis.MaxBonusLevel.Standard", 100);
}
}

public double getCatalysisMinSpeed() {
Expand Down

0 comments on commit 04ed2a4

Please sign in to comment.