mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 06:28:54 +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}
|
version: ${project.version}
|
||||||
main: net.draycia.simplechatmcmmo.SimpleChatMCMMO
|
main: net.draycia.simplechatmcmmo.SimpleChatMCMMO
|
||||||
api-version: 1.16
|
api-version: 1.16
|
||||||
depend: [SimpleChat]
|
depend: [SimpleChat, mcMMO]
|
||||||
+1
@@ -181,6 +181,7 @@ public class SimpleChatChannel extends ChatChannel {
|
|||||||
} else {
|
} else {
|
||||||
String[] groups;
|
String[] groups;
|
||||||
|
|
||||||
|
// TODO: this can't be done on main thread :(
|
||||||
if (user.isOnline()) {
|
if (user.isOnline()) {
|
||||||
groups = simpleChat.getPermission().getPlayerGroups(user.asPlayer());
|
groups = simpleChat.getPermission().getPlayerGroups(user.asPlayer());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ public class ChatReloadCommand extends BaseCommand {
|
|||||||
@Default
|
@Default
|
||||||
public void baseCommand(CommandSender sender) {
|
public void baseCommand(CommandSender sender) {
|
||||||
simpleChat.reloadConfig();
|
simpleChat.reloadConfig();
|
||||||
simpleChat.reloadPatterns();
|
|
||||||
|
|
||||||
Component message = simpleChat.getAdventureManager().processMessage(simpleChat.getConfig().getString("language.reloaded"),
|
Component message = simpleChat.getAdventureManager().processMessage(simpleChat.getConfig().getString("language.reloaded"),
|
||||||
"br", "\n");
|
"br", "\n");
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ name: SimpleChatTowny
|
|||||||
version: ${project.version}
|
version: ${project.version}
|
||||||
main: net.draycia.simplechatmcmmo.SimpleChatTowny
|
main: net.draycia.simplechatmcmmo.SimpleChatTowny
|
||||||
api-version: 1.16
|
api-version: 1.16
|
||||||
depend: [SimpleChat]
|
depend: [SimpleChat, Towny]
|
||||||
@@ -2,4 +2,4 @@ name: SimpleChatWorldGuard
|
|||||||
version: ${project.version}
|
version: ${project.version}
|
||||||
main: net.draycia.simplechatmcmmo.SimpleChatWorldGuard
|
main: net.draycia.simplechatmcmmo.SimpleChatWorldGuard
|
||||||
api-version: 1.16
|
api-version: 1.16
|
||||||
depend: [WorldGuard]
|
depend: [SimpleChat, WorldGuard]
|
||||||
Reference in new issue
Block a user