Probably fixed a Discord chat issue
DiscordPlugin#61
This commit is contained in:
parent
775789a451
commit
e6ada0b2d0
1 changed files with 2 additions and 2 deletions
|
@ -28,10 +28,10 @@ public abstract class AppendTextCommandBase extends TBMCCommandBase {
|
|||
cp, msg).fromCommand(true).build());
|
||||
else if (sender.isOp())
|
||||
TBMCChatAPI.SendChatMessage(ChatMessage.builder(PlayerListener.ConsoleChannel, sender,
|
||||
(cp = TBMCPlayer.getPlayer(new UUID(0, 0), ChatPlayer.class)), msg).build());
|
||||
(cp = TBMCPlayer.getPlayer(new UUID(0, 0), ChatPlayer.class)), msg).fromCommand(true).build());
|
||||
else
|
||||
TBMCChatAPI.SendChatMessage(ChatMessage.builder(Channel.GlobalChat, sender,
|
||||
(cp = TBMCPlayer.getPlayer(new UUID(0, 0), ChatPlayer.class)), msg).build()); //TODO
|
||||
(cp = TBMCPlayer.getPlayer(new UUID(0, 0), ChatPlayer.class)), msg).fromCommand(true).build()); //TODO
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue