Merge branch 'master' of github.com:mcMMO-Dev/mcMMO into tridentsxbows

This commit is contained in:
nossr50 2020-07-30 19:24:20 -07:00
commit 03f1733387
2 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,9 @@ Version 2.2.000
Notes:
These are the first new skills that I've written for mcMMO in about 9 years, I'll be listening closely to feedback and tweaking them often.
Version 2.1.138
Fixed a bug where Netherite weapons/tools/armor weren't applying correct values in some skill calculations
Version 2.1.137
Added some code to avoid NPE errors when checking armor on entities

View File

@ -1072,6 +1072,8 @@ public final class CombatUtils {
}
else if (ItemUtils.isDiamondTool(inHand)) {
tier = 4;
} else if (ItemUtils.isNetheriteTool(inHand)) {
tier = 5;
}
else if (mcMMO.getModManager().isCustomTool(inHand)) {
tier = mcMMO.getModManager().getTool(inHand).getTier();