mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-04-28 00:10:48 -07:00
Fixed server host not seeing own messages
This commit is contained in:
parent
eb79f3288c
commit
c456aa3beb
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue