mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
progress
This commit is contained in:
1 parent
a47ff4e7b2
commit
29bdcc8061
48 files changed
+303
-307
No files matched your search
@@ -51,7 +51,7 @@ public class AliasedChannelCommand {
|
||||
private void setChannel(@NonNull Player player, @NonNull Object @NonNull [] args) {
|
||||
ChatUser user = carbonChat.getUserService().wrap(player);
|
||||
|
||||
if (user.getChannelSettings(getChatChannel()).isIgnored()) {
|
||||
if (user.getChannelSettings(getChatChannel()).ignored()) {
|
||||
user.sendMessage(carbonChat.getAdventureManager().processMessageWithPapi(player, getChatChannel().getCannotUseMessage(),
|
||||
"br", "\n",
|
||||
"color", "<" + getChatChannel().getChannelColor(user).toString() + ">",
|
||||
@@ -60,7 +60,7 @@ public class AliasedChannelCommand {
|
||||
return;
|
||||
}
|
||||
|
||||
user.setSelectedChannel(getChatChannel());
|
||||
user.selectedChannel(getChatChannel());
|
||||
|
||||
user.sendMessage(carbonChat.getAdventureManager().processMessageWithPapi(player, getChatChannel().getSwitchMessage(),
|
||||
"br", "\n",
|
||||
|
||||
Reference in new issue
Block a user