mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Refactor logging system
This commit is contained in:
1 parent
62dcdb5d4b
commit
aed44648eb
33 files changed
+311
-217
No files matched your search
@@ -19,9 +19,9 @@
|
||||
package net.gravitydevelopment.anticheat.api;
|
||||
|
||||
import net.gravitydevelopment.anticheat.AntiCheat;
|
||||
import net.gravitydevelopment.anticheat.manage.AnticheatManager;
|
||||
import net.gravitydevelopment.anticheat.manage.AntiCheatManager;
|
||||
import net.gravitydevelopment.anticheat.manage.CheckManager;
|
||||
import net.gravitydevelopment.anticheat.manage.CheckType;
|
||||
import net.gravitydevelopment.anticheat.check.CheckType;
|
||||
import net.gravitydevelopment.anticheat.manage.UserManager;
|
||||
import net.gravitydevelopment.anticheat.xray.XRayTracker;
|
||||
import org.bukkit.entity.Player;
|
||||
@@ -150,7 +150,7 @@ public class AnticheatAPI {
|
||||
*
|
||||
* @return the AntiCheat Manager
|
||||
*/
|
||||
public static AnticheatManager getManager() {
|
||||
public static AntiCheatManager getManager() {
|
||||
return AntiCheat.getManager();
|
||||
}
|
||||
}
|
||||
@@ -18,8 +18,8 @@
|
||||
|
||||
package net.gravitydevelopment.anticheat.api;
|
||||
|
||||
import net.gravitydevelopment.anticheat.manage.CheckType;
|
||||
import net.gravitydevelopment.anticheat.manage.User;
|
||||
import net.gravitydevelopment.anticheat.check.CheckType;
|
||||
import net.gravitydevelopment.anticheat.util.User;
|
||||
import org.bukkit.event.Event;
|
||||
import org.bukkit.event.HandlerList;
|
||||
|
||||
@@ -40,18 +40,18 @@ public class CheckFailEvent extends Event {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the {@link net.gravitydevelopment.anticheat.manage.User} who failed the check
|
||||
* Get the {@link net.gravitydevelopment.anticheat.util.User} who failed the check
|
||||
*
|
||||
* @return a {@link net.gravitydevelopment.anticheat.manage.User}
|
||||
* @return a {@link net.gravitydevelopment.anticheat.util.User}
|
||||
*/
|
||||
public User getUser() {
|
||||
return user;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the {@link net.gravitydevelopment.anticheat.manage.CheckType} failed
|
||||
* Get the {@link net.gravitydevelopment.anticheat.check.CheckType} failed
|
||||
*
|
||||
* @return a {@link net.gravitydevelopment.anticheat.manage.CheckType}
|
||||
* @return a {@link net.gravitydevelopment.anticheat.check.CheckType}
|
||||
*/
|
||||
public CheckType getCheck() {
|
||||
return type;
|
||||
|
||||
Reference in new issue
Block a user