mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
It compiles!
This commit is contained in:
1 parent
66aa6d6449
commit
c3df33f4b5
6 files changed
+15
-13
No files matched your search
@@ -27,7 +27,7 @@ public class ChannelCommand extends BaseCommand {
|
||||
String switchMessage = MiniMessageParser.handlePlaceholders(channel.getSwitchMessage(),
|
||||
"color", "<" + channel.getColor().toString() + ">", "channel", channel.getName());
|
||||
|
||||
simpleChat.getPlatform().player(player).sendMessage(MiniMessageParser.parseFormat(switchMessage));
|
||||
simpleChat.getAudiences().player(player).sendMessage(MiniMessageParser.parseFormat(switchMessage));
|
||||
} else {
|
||||
Bukkit.getScheduler().scheduleAsyncDelayedTask(simpleChat, () -> {
|
||||
channel.sendMessage(player, String.join(" ", args));
|
||||
|
||||
Reference in new issue
Block a user