mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 20:48:33 +07:00
Fixed server host not seeing own messages
This commit is contained in:
parent
eb79f3288c
commit
c456aa3beb
@ -171,6 +171,11 @@ public class NetClient implements ApplicationListener{
|
||||
return;
|
||||
}
|
||||
|
||||
//special case; graphical server needs to see its message
|
||||
if(!headless && player == Vars.player){
|
||||
Vars.ui.chatfrag.addMessage(message, colorizeName(player.id, player.name));
|
||||
}
|
||||
|
||||
//server console logging
|
||||
Log.info("&y{0}: &lb{1}", player.name, message);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user