move regexmanager to api

This commit is contained in:
len
2021-05-20 18:45:26 +02:00
parent a135900a1c
commit 4124315bd7
3 changed files with 7 additions and 6 deletions
@@ -3,6 +3,7 @@ package com.alttd.chat;
import com.alttd.chat.config.Config;
import com.alttd.chat.database.DatabaseConnection;
import com.alttd.chat.managers.ChatUserManager;
import com.alttd.chat.managers.RegexManager;
import net.luckperms.api.LuckPerms;
import net.luckperms.api.LuckPermsProvider;
import net.luckperms.api.model.group.Group;
@@ -27,6 +28,7 @@ public class ChatImplementation implements ChatAPI{
databaseConnection = getDataBase();
ChatUserManager.initialize(); // loads all the users from the db and adds them.
RegexManager.initRegex(); // load the filters and regexes from config
}
public static ChatAPI get() {