소스 검색

Removed extra durability loss from Leaf Blower

bm01 12 년 전
부모
커밋
e7ceef479e
2개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  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());
         }