mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Spam check no longer uses scheduler; fixes #183
This commit is contained in:
1 parent
2ceb16dcd2
commit
b9b837663b
7 files changed
+102
-114
No files matched your search
@@ -74,6 +74,9 @@ public class Configuration {
|
||||
langFile = new File(micromanage.getPlugin().getDataFolder() + "/lang.yml");
|
||||
magicFile = new File(micromanage.getPlugin().getDataFolder() + "/magic.yml");
|
||||
eventsFile = new File(micromanage.getPlugin().getDataFolder() + "/events.yml");
|
||||
|
||||
//
|
||||
language = new Language(YamlConfiguration.loadConfiguration(langFile), langFile);
|
||||
}
|
||||
|
||||
private void save() {
|
||||
|
||||
@@ -430,6 +430,18 @@ public final class Utilities {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a list with the given string for execution
|
||||
*
|
||||
* @param string the string to parse
|
||||
* @return ArrayList with string
|
||||
*/
|
||||
public static ArrayList<String> stringToList(String string) {
|
||||
ArrayList<String> i = new ArrayList<String>();
|
||||
i.add(string);
|
||||
return i;
|
||||
}
|
||||
|
||||
static {
|
||||
// START INSTANT BREAK MATERIALS
|
||||
|
||||
Reference in new issue
Block a user