Attempt to load regexes from config

This commit is contained in:
len
2021-05-14 00:06:21 +02:00
parent a7c21c6aa9
commit a76ca7f850
4 changed files with 20 additions and 92 deletions
@@ -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