mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
Fixing a lot of bugs involving calculating the success of skills
This commit is contained in:
@ -705,6 +705,9 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
|
||||
if(mcMMO.isRetroModeEnabled())
|
||||
maxBonusLevel *= 10;
|
||||
|
||||
if(maxBonusLevel == 0)
|
||||
mcMMO.p.getLogger().severe("Warning Max Bonus Level for "+subSkillType.getAdvConfigAddress() + ".MaxBonusLevel"+" is set to 0! Typically this value should be 100.");
|
||||
|
||||
return maxBonusLevel;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user