From 2eab93292e0988334c7fecec5b3540e5a9ba411b Mon Sep 17 00:00:00 2001 From: bm01 Date: Tue, 19 Feb 2013 02:20:12 +0100 Subject: [PATCH] Removed some shouldBeAffected calls I'm pretty sure they aren't needed there --- .../java/com/gmail/nossr50/skills/utilities/CombatTools.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 66de57972..63adc0df8 100644 --- a/src/main/java/com/gmail/nossr50/skills/utilities/CombatTools.java +++ b/src/main/java/com/gmail/nossr50/skills/utilities/CombatTools.java @@ -97,7 +97,7 @@ public final class CombatTools { SkillTools.abilityCheck(player, SkillType.SWORDS); } - if (Permissions.swordsBleed(player) && shouldBeAffected(player, target)) { + if (Permissions.swordsBleed(player)) { swordsManager.bleedCheck(target); } @@ -131,7 +131,7 @@ public final class CombatTools { axeManager.bonusDamage(event); } - if (!target.isDead() && Permissions.criticalHit(player) && shouldBeAffected(player, target)) { + if (!target.isDead() && Permissions.criticalHit(player)) { axeManager.criticalHitCheck(event, target); }