Fixed stuff, added new metrics graphs

This commit is contained in:
Rammelkast committed 2017-03-02 15:08:45 +01:00
1 parent 7f13a0ad4c
commit 09ddbfba8f
6 files changed
+213 -150

No files matched your search

@@ -56,7 +56,8 @@ public class KillAuraCheck {
}else {
VL_COUNT.put(p.getUniqueId(), VL_COUNT.get(p.getUniqueId()) + 1);
if (VL_COUNT.get(p.getUniqueId()) >= 5) {
EventListener.log(new CheckResult(CheckResult.Result.FAILED, p.getName() + " failed KillAura (botcheck), hit the bot " + VL_COUNT.get(p.getUniqueId()) + " times (max=5)").getMessage(), p, CheckType.BLINK);
EventListener.log(new CheckResult(CheckResult.Result.FAILED, p.getName() + " failed KillAura (botcheck), hit the bot " + VL_COUNT.get(p.getUniqueId()) + " times (max=5)").getMessage(), p, CheckType.KILLAURA);
AntiCheat.getPlugin().onKillAuraViolation();
VL_COUNT.remove(p.getUniqueId());
}
}