Răsfoiți Sursa

Merge branch 'master' of github.com:mcMMO-Dev/mcMMO into configurable

nossr50 6 ani în urmă
părinte
comite
ddb92af400

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

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