mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-23 16:52:05 +00:00
actually fix displayName by not putting it (the vanilla server does that)
This commit is contained in:
parent
57a253565f
commit
82353ad13c
1 changed files with 2 additions and 6 deletions
|
|
@ -161,9 +161,7 @@ function inject(serv,player)
|
|||
name: player.username,
|
||||
properties: [],
|
||||
gamemode: player.gameMode,
|
||||
ping: 1,
|
||||
hasDisplayName: true,
|
||||
displayName: {'text':player.username}
|
||||
ping: 1
|
||||
}]
|
||||
});
|
||||
|
||||
|
|
@ -175,9 +173,7 @@ function inject(serv,player)
|
|||
name: otherPlayer.username,
|
||||
properties: [],
|
||||
gamemode: otherPlayer.gameMode,
|
||||
ping: 1,
|
||||
hasDisplayName: true,
|
||||
displayName: {'text':player.username}
|
||||
ping: 1
|
||||
}]
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue