mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 22:16:03 +00:00
Fixed another NPE...
This commit is contained in:
1 parent
9f7b476068
commit
2d14475a20
1 file changed
+2
-1
@@ -31,7 +31,8 @@ public class KillAuraCheck {
|
|||||||
private static final Map<UUID, Integer> VL_COUNT = new HashMap<UUID, Integer>();
|
private static final Map<UUID, Integer> VL_COUNT = new HashMap<UUID, Integer>();
|
||||||
|
|
||||||
public static void cleanPlayer(Player p) {
|
public static void cleanPlayer(Player p) {
|
||||||
CHECKER_NPCS.get(p.getUniqueId()).clean(p);
|
if (CHECKER_NPCS.containsKey(p.getUniqueId()))
|
||||||
|
CHECKER_NPCS.get(p.getUniqueId()).clean(p);
|
||||||
CHECKER_NPCS.remove(p.getUniqueId());
|
CHECKER_NPCS.remove(p.getUniqueId());
|
||||||
VL_COUNT.remove(p.getUniqueId());
|
VL_COUNT.remove(p.getUniqueId());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user