mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Fix issue with double drop display values.
This commit is contained in:
parent
0ae5421d10
commit
3ac5ac385d
@ -116,7 +116,7 @@ public abstract class SkillCommand implements CommandExecutor {
|
||||
}
|
||||
|
||||
protected String[] calculateAbilityDisplayValues(int maxBonusLevel, double maxChance) {
|
||||
return calculateAbilityDisplayValues((maxChance / Math.min(skillValue, maxBonusLevel)) * skillValue);
|
||||
return calculateAbilityDisplayValues((maxChance / maxBonusLevel) * Math.min(skillValue, maxBonusLevel));
|
||||
}
|
||||
|
||||
protected String[] calculateLengthDisplayValues() {
|
||||
|
Loading…
Reference in New Issue
Block a user