mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 14:38:45 +00:00
Replace old magic.yml files
This commit is contained in:
1 parent
8d13e964ae
commit
473ceb816e
6 files changed
+33
-13
No files matched your search
@@ -253,26 +253,26 @@ public class Anticheat extends JavaPlugin {
|
||||
}
|
||||
|
||||
public static Anticheat getPlugin() {
|
||||
return manager.getPlugin();
|
||||
return manager.getPlugin();
|
||||
}
|
||||
|
||||
public static AnticheatManager getManager() {
|
||||
return manager;
|
||||
return manager;
|
||||
}
|
||||
|
||||
public static boolean isUpdated() {
|
||||
return !update;
|
||||
return !update;
|
||||
}
|
||||
|
||||
public static String getVersion() {
|
||||
return manager.getPlugin().getDescription().getVersion();
|
||||
return manager.getPlugin().getDescription().getVersion();
|
||||
}
|
||||
|
||||
private void cleanup() {
|
||||
eventList = null;
|
||||
manager = null;
|
||||
config = null;
|
||||
metrics = null;
|
||||
eventList = null;
|
||||
manager = null;
|
||||
config = null;
|
||||
metrics = null;
|
||||
}
|
||||
|
||||
public static boolean developerMode() {
|
||||
@@ -292,4 +292,8 @@ public class Anticheat extends JavaPlugin {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void replaceMagic() {
|
||||
saveResource("magic.yml", true);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user