Remove channel reloading, add filter reloading

This commit is contained in:
Draycia committed 2020-09-02 23:54:23 -07:00
1 parent 70fd7c2cd9
commit 0807506045
5 files changed
+16 -9

No files matched your search

@@ -36,16 +36,11 @@ public class ChatReloadCommand {
private void execute(CommandSender sender, Object[] args) {
carbonChat.reloadConfig();
carbonChat.getChannelManager().reload();
Component message = carbonChat.getAdventureManager().processMessage(carbonChat.getLanguage().getString("reloaded"),
"br", "\n");
carbonChat.getAdventureManager().getAudiences().audience(sender).sendMessage(message);
// TODO: Ensure the command list is updated when reloading.
// If new channels are added, their commands should appear to players.
// TODO: Ensure moderation filters ETC are updated when reloading.
}