Browse Source

Fixed bug where Mining wasn't awarding double drops

GJ 12 years ago
parent
commit
171026ba23

+ 2 - 1
Changelog.txt

@@ -9,7 +9,8 @@ Key:
 
 
 Version 1.4.04-dev
 Version 1.4.04-dev
  = Fixed bug where trying to activate a Chimaera Wing would require one item too much
  = Fixed bug where trying to activate a Chimaera Wing would require one item too much
-  = Fixed bug where Treefeller would try to cut too many leaves and reach the threshold when it shouldn't
+ = Fixed bug where Treefeller would try to cut too many leaves and reach the threshold when it shouldn't
+ = Fixed bug where Mining wasn't awarding double drops
 
 
 Version 1.4.03
 Version 1.4.03
  + Added option to advanced.yml to determine the # of enchant levels used when buffing Super Breaker & Giga Drill Breaker
  + Added option to advanced.yml to determine the # of enchant levels used when buffing Super Breaker & Giga Drill Breaker

+ 1 - 1
src/main/java/com/gmail/nossr50/skills/mining/MiningManager.java

@@ -58,7 +58,7 @@ public class MiningManager extends SkillManager{
 
 
         applyXpGain(Mining.getBlockXp(blockState));
         applyXpGain(Mining.getBlockXp(blockState));
 
 
-        if (Permissions.doubleDrops(player, skill)) {
+        if (!Permissions.doubleDrops(player, skill)) {
             return;
             return;
         }
         }