diff --git a/Changelog.txt b/Changelog.txt index b40e43518..eab3a1e07 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -170,6 +170,9 @@ Version 2.2.0 Added API method to grab the level cap of a skill by its PrimarySkillType ENUM definition Added API method to check if a skill was being level capped +Version 2.1.58 + Fixed the wrong locale string being used for Mining Double Drops + Version 2.1.57 Fixed an incredibly rare dupe bug that only happened with VERY specific config options that was extremely difficult to pull off diff --git a/src/main/java/com/gmail/nossr50/commands/skills/MiningCommand.java b/src/main/java/com/gmail/nossr50/commands/skills/MiningCommand.java index d541df3f8..e671faa01 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/MiningCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/MiningCommand.java @@ -95,7 +95,7 @@ public class MiningCommand extends SkillCommand { } if (canDoubleDrop) { - messages.add(getStatMessage(SubSkillType.HERBALISM_DOUBLE_DROPS, doubleDropChance) + messages.add(getStatMessage(SubSkillType.MINING_DOUBLE_DROPS, doubleDropChance) + (isLucky ? LocaleLoader.getString("Perks.Lucky.Bonus", doubleDropChanceLucky) : "")); //messages.add(LocaleLoader.getString("Mining.Effect.DropChance", doubleDropChance) + (isLucky ? LocaleLoader.getString("Perks.Lucky.Bonus", doubleDropChanceLucky) : "")); }