mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 22:16:22 +00:00
Add message on whisper channel
This commit is contained in:
1 parent
227a85e567
commit
4bf963e63e
2 files changed
+13
No files matched your search
@@ -56,6 +56,11 @@ public class MessageCommand {
|
||||
receiver.sendMessage(sender, message.get());
|
||||
} else {
|
||||
sender.selectedChannel(new CarbonWhisperChannel(sender, receiver));
|
||||
|
||||
sender.sendMessage(this.carbonChat.messageProcessor().processMessage(
|
||||
this.carbonChat.carbonSettings().whisperOptions().nowWhisperingPlayer(),
|
||||
"player", receiver.name()
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user