From ed1831da78d85e724c03ab2c3fec4fa8f2049709 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Sat, 11 May 2019 12:45:00 -0700 Subject: [PATCH] Fixed the wrong locale string being used for Mining DD --- Changelog.txt | 3 +++ pom.xml | 2 +- .../java/com/gmail/nossr50/commands/skills/MiningCommand.java | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index fa0a8d08d..7869c5487 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,3 +1,6 @@ +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/pom.xml b/pom.xml index 961e3a873..1941eda3c 100755 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.gmail.nossr50.mcMMO mcMMO - 2.1.57 + 2.1.58 mcMMO https://github.com/mcMMO-Dev/mcMMO 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 174444d7f..1f2b06805 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/MiningCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/MiningCommand.java @@ -96,7 +96,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) : "")); }