mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
parent
a3e426088d
commit
5e1bf0934d
@ -51,7 +51,8 @@ public class PlayerHackKickListener implements Listener {
|
||||
HackType hackType = event.getHackType();
|
||||
String hackTypeName = hackType.getName();
|
||||
long time = System.currentTimeMillis();
|
||||
int violations = AACAPIProvider.getAPI().getViolationLevel(player, hackType);
|
||||
|
||||
int violations = new AACAPIProvider().getAPI().getViolationLevel(player, hackType);
|
||||
|
||||
HackObject hackObject = new HackObject(uuid, time, hackTypeName, violations);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user