Attempt to load regexes from config

This commit is contained in:
len committed 2021-05-14 00:06:21 +02:00
1 parent a7c21c6aa9
commit a76ca7f850
4 files changed
+20 -92

No files matched your search

@@ -26,11 +26,6 @@ public class ChatImplementation implements ChatAPI{
luckPerms = getLuckPerms();
//databaseConnection = getDataBase(); // TODO fix database on proxy, shade sql, add defaults to config
// LOAD REGEXES, sad way of doing it:(
for(ConfigurationNode node : Config.REGEXNODE.getChildrenMap().values()) {
new RegexConfig(node.getString());
}
}
@Override