mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Fixed false positive
This commit is contained in:
1 parent
81602bb5ae
commit
6ae16787fc
3 files changed
+5
-5
No files matched your search
@@ -107,7 +107,8 @@ public class EntityListener extends EventListener {
|
||||
if (e.getDamager() instanceof Player) {
|
||||
if (getCheckManager().willCheck((Player)e.getDamager(), CheckType.KILLAURA)) {
|
||||
KillAuraCheck.doDamageEvent(e, (Player)e.getDamager());
|
||||
}else if (getCheckManager().willCheck((Player)e.getDamager(), CheckType.CRITICALS)) {
|
||||
}
|
||||
if (getCheckManager().willCheck((Player)e.getDamager(), CheckType.CRITICALS)) {
|
||||
CriticalsCheck.doDamageEvent(e, (Player)e.getDamager());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user