Bläddra i källkod

Removed extra durability loss from Leaf Blower

bm01 12 år sedan
förälder
incheckning
e7ceef479e
2 ändrade filer med 1 tillägg och 4 borttagningar
  1. 1 0
      Changelog.txt
  2. 0 4
      src/main/java/com/gmail/nossr50/skills/gathering/WoodCutting.java

+ 1 - 0
Changelog.txt

@@ -9,6 +9,7 @@ Key:
 
 Version 1.3.14-dev
  + Added new Hylian Luck skill to Herbalism.
+ - Removed extra durability loss from Leaf Blower
 
 Version 1.3.13
  + Added task & command to prune old and powerless users from the SQL database.

+ 0 - 4
src/main/java/com/gmail/nossr50/skills/gathering/WoodCutting.java

@@ -491,10 +491,6 @@ public class WoodCutting {
         FakePlayerAnimationEvent armswing = new FakePlayerAnimationEvent(player);
         mcMMO.p.getServer().getPluginManager().callEvent(armswing);
 
-        if (Config.getInstance().getWoodcuttingRequiresTool()) {
-            Skills.abilityDurabilityLoss(player.getItemInHand(), Misc.toolDurabilityLoss);
-        }
-
         if (mcMMO.spoutEnabled) {
             SpoutSounds.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
         }