Changes to sending client message
This commit is contained in:
parent
112b71a27e
commit
22c5853038
1 changed files with 4 additions and 1 deletions
|
@ -47,7 +47,10 @@ public class ClientProxy extends ServerProxy
|
|||
@Override
|
||||
public void sendMessage(EntityPlayer player, String message)
|
||||
{
|
||||
player.addChatMessage(new TextComponentString(message));
|
||||
if (this.getThePlayer() == player)
|
||||
{
|
||||
Minecraft.getMinecraft().ingameGUI.getChatGUI().printChatMessage(new TextComponentString(message));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue