Browse Source

Fixed the wrong locale string being used for Mining DD

nossr50 6 years ago
parent
commit
ed1831da78
3 changed files with 5 additions and 2 deletions
  1. 3 0
      Changelog.txt
  2. 1 1
      pom.xml
  3. 1 1
      src/main/java/com/gmail/nossr50/commands/skills/MiningCommand.java

+ 3 - 0
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
 

+ 1 - 1
pom.xml

@@ -2,7 +2,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.gmail.nossr50.mcMMO</groupId>
     <artifactId>mcMMO</artifactId>
-    <version>2.1.57</version>
+    <version>2.1.58</version>
     <name>mcMMO</name>
     <url>https://github.com/mcMMO-Dev/mcMMO</url>
     <scm>

+ 1 - 1
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) : ""));
         }