mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Fixes round 3000
This commit is contained in:
1 parent
58477c0b6a
commit
569cd78748
15 files changed
+583
-54
No files matched your search
@@ -22,10 +22,14 @@ public class AliasedChannelCommand extends BaseCommand {
|
||||
}
|
||||
|
||||
@Default
|
||||
//@CommandAlias("channel %channelName")
|
||||
public void baseCommand(Player player, @Optional String[] args) {
|
||||
ChatUser user = simpleChat.getUserService().wrap(player);
|
||||
|
||||
if (!chatChannel.canPlayerUse(user)) {
|
||||
// TODO: send message
|
||||
return;
|
||||
}
|
||||
|
||||
if (args == null || args.length == 0) {
|
||||
user.setSelectedChannel(getChatChannel());
|
||||
|
||||
|
||||
Reference in new issue
Block a user