This commit is contained in:
Jesse Boyd 2018-05-12 16:54:20 +10:00
parent 2a7e111f46
commit 63a40653cc

View File

@ -43,7 +43,7 @@ public class BukkitChatManager implements ChatManager<FancyMessage> {
@Override
public void send(Message Message, FawePlayer player) {
if (player == FakePlayer.getConsole().toFawePlayer()) {
if (!(player instanceof BukkitPlayer)) {
player.sendMessage(Message.$(this).toOldMessageFormat());
} else {
Message.$(this).send(((BukkitPlayer) player).parent);