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
1 changed files with 1 additions and 1 deletions

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);