More cleanup and fixes

This commit is contained in:
Draycia committed 2020-07-28 01:33:23 -07:00
1 parent e0760fe84d
commit 7903ab596c
5 files changed
+4 -4

No files matched your search

@@ -2,4 +2,4 @@ name: SimpleChatMCMMO
version: ${project.version}
main: net.draycia.simplechatmcmmo.SimpleChatMCMMO
api-version: 1.16
depend: [SimpleChat]
depend: [SimpleChat, mcMMO]
@@ -181,6 +181,7 @@ public class SimpleChatChannel extends ChatChannel {
} else {
String[] groups;
// TODO: this can't be done on main thread :(
if (user.isOnline()) {
groups = simpleChat.getPermission().getPlayerGroups(user.asPlayer());
} else {
@@ -19,7 +19,6 @@ public class ChatReloadCommand extends BaseCommand {
@Default
public void baseCommand(CommandSender sender) {
simpleChat.reloadConfig();
simpleChat.reloadPatterns();
Component message = simpleChat.getAdventureManager().processMessage(simpleChat.getConfig().getString("language.reloaded"),
"br", "\n");
@@ -2,4 +2,4 @@ name: SimpleChatTowny
version: ${project.version}
main: net.draycia.simplechatmcmmo.SimpleChatTowny
api-version: 1.16
depend: [SimpleChat]
depend: [SimpleChat, Towny]
@@ -2,4 +2,4 @@ name: SimpleChatWorldGuard
version: ${project.version}
main: net.draycia.simplechatmcmmo.SimpleChatWorldGuard
api-version: 1.16
depend: [WorldGuard]
depend: [SimpleChat, WorldGuard]