From 37395a70e68139728a4b4a4fd7361d1bca32d38f Mon Sep 17 00:00:00 2001 From: bm01 Date: Sun, 3 Mar 2013 14:38:00 +0100 Subject: [PATCH] Combat skills should work on wild wolves / cats Bug introduced in my previous commit --- src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java b/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java index c29f367a6..3826f715d 100644 --- a/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java +++ b/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java @@ -73,7 +73,8 @@ public final class CombatUtils { return; } } - else if (ItemUtils.isSword(heldItem)) { + + if (ItemUtils.isSword(heldItem)) { if (targetIsPlayer || targetIsTamedPet) { if (!SkillType.SWORDS.getPVPEnabled()) { return;