mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
More cleanup and fixes
This commit is contained in:
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]
|
||||
+1
@@ -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]
|
||||
Reference in new issue
Block a user