This commit is contained in:
nossr50 2020-06-26 15:04:03 -07:00
parent 6b340838ee
commit ed69f843aa
3 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@ Version 2.1.130
Fixed a bug that prevented Repair from working on the new Netherite weapons/armors
Fixed a bug where Netherite gear used Gold Ingots to repair instead of Netherite Scraps (by default)
mcMMO will now run a script to fix a misspelling of netherite in repair/salvage configs (script only runs once and then never again)
mcMMO will produce a fake ItemDamageEvent before damaging axes in Tree Feller execution
mcMMO will produce a fake PlayerItemDamageEvent before damaging axes in Tree Feller execution
NOTES:

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId>
<version>2.1.130-SNAPSHOT</version>
<version>2.1.130</version>
<name>mcMMO</name>
<url>https://github.com/mcMMO-Dev/mcMMO</url>
<scm>

View File

@ -221,6 +221,7 @@ public class WoodcuttingManager extends SkillManager {
}
// Call PlayerItemDamageEvent first to make sure it's not cancelled
//TODO: Put this event stuff in handleDurabilityChange
final PlayerItemDamageEvent event = new PlayerItemDamageEvent(player, inHand, durabilityLoss);
Bukkit.getPluginManager().callEvent(event);