mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Shade in CommandAPI and fix startup issue
This commit is contained in:
1 parent
0807506045
commit
e258b57a1f
3 files changed
+11
-3
No files matched your search
@@ -35,13 +35,12 @@ public class ChatReloadCommand {
|
||||
|
||||
private void execute(CommandSender sender, Object[] args) {
|
||||
carbonChat.reloadConfig();
|
||||
carbonChat.reloadFilters();
|
||||
|
||||
Component message = carbonChat.getAdventureManager().processMessage(carbonChat.getLanguage().getString("reloaded"),
|
||||
"br", "\n");
|
||||
|
||||
carbonChat.getAdventureManager().getAudiences().audience(sender).sendMessage(message);
|
||||
|
||||
// TODO: Ensure moderation filters ETC are updated when reloading.
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user