diff --git a/src/main/java/com/gmail/nossr50/skills/utilities/CombatTools.java b/src/main/java/com/gmail/nossr50/skills/utilities/CombatTools.java index 54b1fa1ad..66de57972 100644 --- a/src/main/java/com/gmail/nossr50/skills/utilities/CombatTools.java +++ b/src/main/java/com/gmail/nossr50/skills/utilities/CombatTools.java @@ -69,6 +69,10 @@ public final class CombatTools { return; } + if (target instanceof Tameable && isFriendlyPet(player, (Tameable) target)) { + return; + } + ItemStack heldItem = player.getItemInHand(); Material heldItemType = heldItem.getType(); DamageCause damageCause = event.getCause();