mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Removed extra durability loss from Leaf Blower
This commit is contained in:
parent
0545ed434d
commit
e7ceef479e
@ -9,6 +9,7 @@ Key:
|
|||||||
|
|
||||||
Version 1.3.14-dev
|
Version 1.3.14-dev
|
||||||
+ Added new Hylian Luck skill to Herbalism.
|
+ Added new Hylian Luck skill to Herbalism.
|
||||||
|
- Removed extra durability loss from Leaf Blower
|
||||||
|
|
||||||
Version 1.3.13
|
Version 1.3.13
|
||||||
+ Added task & command to prune old and powerless users from the SQL database.
|
+ Added task & command to prune old and powerless users from the SQL database.
|
||||||
|
@ -491,10 +491,6 @@ public class WoodCutting {
|
|||||||
FakePlayerAnimationEvent armswing = new FakePlayerAnimationEvent(player);
|
FakePlayerAnimationEvent armswing = new FakePlayerAnimationEvent(player);
|
||||||
mcMMO.p.getServer().getPluginManager().callEvent(armswing);
|
mcMMO.p.getServer().getPluginManager().callEvent(armswing);
|
||||||
|
|
||||||
if (Config.getInstance().getWoodcuttingRequiresTool()) {
|
|
||||||
Skills.abilityDurabilityLoss(player.getItemInHand(), Misc.toolDurabilityLoss);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mcMMO.spoutEnabled) {
|
if (mcMMO.spoutEnabled) {
|
||||||
SpoutSounds.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
|
SpoutSounds.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user