mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Drop 1.8 support, improve IllegalInteract, drop rules engine for java 16, more refactoring
This commit is contained in:
1 parent
71a9c9a9c7
commit
a1f7a0cf7f
24 files changed
+632
-622
No files matched your search
@@ -32,17 +32,18 @@ import com.rammelkast.anticheatreloaded.config.Configuration;
|
||||
/**
|
||||
* The internal hub for all managers.
|
||||
*/
|
||||
public class AntiCheatManager {
|
||||
private static AntiCheatReloaded plugin = null;
|
||||
public final class AntiCheatManager {
|
||||
|
||||
private static AntiCheatReloaded plugin;
|
||||
private static Configuration configuration;
|
||||
private static UserManager userManager = null;
|
||||
private static CheckManager checkManager = null;
|
||||
private static LoggingManager loggingManager = null;
|
||||
private static Backend backend = null;
|
||||
private static UserManager userManager;
|
||||
private static CheckManager checkManager;
|
||||
private static LoggingManager loggingManager;
|
||||
private static Backend backend;
|
||||
private static Map<String, RegisteredListener[]> eventchains = new ConcurrentHashMap<String, RegisteredListener[]>();
|
||||
private static Map<String, Long> eventcache = new ConcurrentHashMap<String, Long>();
|
||||
|
||||
public AntiCheatManager(AntiCheatReloaded instance, Logger logger) {
|
||||
public AntiCheatManager(final AntiCheatReloaded instance, final Logger logger) {
|
||||
plugin = instance;
|
||||
configuration = new Configuration(plugin, this);
|
||||
loggingManager = new LoggingManager(plugin, logger, configuration);
|
||||
|
||||
@@ -97,7 +97,7 @@ public class LoggingManager {
|
||||
}
|
||||
}
|
||||
|
||||
private void logToLogs(String message) { // Yo dawg, you like logs?
|
||||
private void logToLogs(String message) {
|
||||
logs.add(ChatColor.stripColor(message));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user