refactor: use a central filtering manager

This commit is contained in:
ChomeNS
2025-01-18 15:20:15 +07:00
parent 54389f2e2b
commit ae7fe63846
8 changed files with 239 additions and 172 deletions

View File

@@ -51,7 +51,7 @@ public class AuthPlugin extends PlayersPlugin.Listener {
target.profile.getId()
);
} else {
bot.filter.doAll(target, bot.config.ownerAuthentication.muteReason);
bot.filterManager.doAll(target, bot.config.ownerAuthentication.muteReason);
}
return ip;