Add channel reload functionality via ChatReloadCommand

This commit is contained in:
underscore11code authored and Josh (Vicarious) committed 2020-08-09 00:04:29 -07:00
1 parent f5f77aab67
commit 4897ed68fd
4 files changed
+29 -11

No files matched your search

@@ -20,6 +20,8 @@ public class ChatReloadCommand extends BaseCommand {
public void baseCommand(CommandSender sender) {
carbonChat.reloadConfig();
carbonChat.getChannelManager().reload();
Component message = carbonChat.getAdventureManager().processMessage(carbonChat.getConfig().getString("language.reloaded"),
"br", "\n");