mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Removed some shouldBeAffected calls
I'm pretty sure they aren't needed there
This commit is contained in:
parent
29fb8b83c2
commit
2eab93292e
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user