Combat skills should work on wild wolves / cats

Bug introduced in my previous commit
This commit is contained in:
bm01 2013-03-03 14:38:00 +01:00
parent b779258d69
commit 37395a70e6

View File

@ -73,7 +73,8 @@ public final class CombatUtils {
return; return;
} }
} }
else if (ItemUtils.isSword(heldItem)) {
if (ItemUtils.isSword(heldItem)) {
if (targetIsPlayer || targetIsTamedPet) { if (targetIsPlayer || targetIsTamedPet) {
if (!SkillType.SWORDS.getPVPEnabled()) { if (!SkillType.SWORDS.getPVPEnabled()) {
return; return;