mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Remove channel reloading, add filter reloading
This commit is contained in:
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.
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user