mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Updated the whole plugin to 1.9, killaura check does not work in 1.8
from now on.
This commit is contained in:
1 parent
6fa3f4c8df
commit
37180450ce
7 files changed
+24
-42
No files matched your search
@@ -63,7 +63,7 @@ public class KillAuraCheck {
|
||||
public static void doDamageEvent(EntityDamageByEntityEvent e, Player p) {
|
||||
if (AntiCheat.getManager().getCheckManager().isOpExempt(p) || AntiCheat.getManager().getCheckManager().isExempt(p, CheckType.KILLAURA))
|
||||
return;
|
||||
if (VersionUtil.getVersion().equals("v1_8_R3")) { // TODO 1.9 support
|
||||
if (VersionUtil.getVersion().equals("v1_9_R1")) { // TODO 1.9 R2 support
|
||||
if (!CHECKER_NPCS.containsKey(p.getUniqueId())) { // Enable killaura check after player damaged other player, this is more efficient
|
||||
CHECKER_NPCS.put(p.getUniqueId(), new CheckerNPCS(p));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user