diff --git a/src/main/java/com/gmail/nossr50/skills/axes/Axes.java b/src/main/java/com/gmail/nossr50/skills/axes/Axes.java index d64464ab1..5268e7865 100644 --- a/src/main/java/com/gmail/nossr50/skills/axes/Axes.java +++ b/src/main/java/com/gmail/nossr50/skills/axes/Axes.java @@ -25,7 +25,7 @@ public class Axes { protected static boolean hasArmor(LivingEntity target) { for (ItemStack itemStack : target.getEquipment().getArmorContents()) { - if (ItemUtils.isArmor(itemStack)) { + if (itemStack != null && ItemUtils.isArmor(itemStack)) { return true; } }