This commit is contained in:
Jesse Boyd 2018-05-13 10:50:56 +10:00
commit 0bf6595ddd
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

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