mirror of
https://github.com/danbulant/flying-squid
synced 2026-07-09 05:00:56 +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,
|
name: player.username,
|
||||||
properties: [],
|
properties: [],
|
||||||
gamemode: player.gameMode,
|
gamemode: player.gameMode,
|
||||||
ping: 1,
|
ping: 1
|
||||||
hasDisplayName: true,
|
|
||||||
displayName: {'text':player.username}
|
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -175,9 +173,7 @@ function inject(serv,player)
|
||||||
name: otherPlayer.username,
|
name: otherPlayer.username,
|
||||||
properties: [],
|
properties: [],
|
||||||
gamemode: otherPlayer.gameMode,
|
gamemode: otherPlayer.gameMode,
|
||||||
ping: 1,
|
ping: 1
|
||||||
hasDisplayName: true,
|
|
||||||
displayName: {'text':player.username}
|
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue