diff options
author | red-001 <red-001@outlook.ie> | 2017-06-08 14:30:09 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-08 15:30:09 +0200 |
commit | 4221c1b4412f2bf889bd603a26424003f5367f6a (patch) | |
tree | 622775e473bf073ed704afded90b050b51d63266 /src/client.h | |
parent | 5bd33a158688f5fb950613278eefb95b0594a765 (diff) | |
download | minetest-4221c1b4412f2bf889bd603a26424003f5367f6a.tar.gz minetest-4221c1b4412f2bf889bd603a26424003f5367f6a.tar.bz2 minetest-4221c1b4412f2bf889bd603a26424003f5367f6a.zip |
Have the server send the player list to the client (#5924)
* Have the server send the player list to the client
Currently the client generates the player list based on the Client active object list, the issue with this is that we can't be sure all player active objects will be sent to the client, so this could result in players showing up when someone run `/status` but auto complete not working with their nick and CSM not being aware of the player
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index 9aec0d061..c94936d85 100644 --- a/src/client.h +++ b/src/client.h @@ -348,6 +348,7 @@ public: void handleCommand_OverrideDayNightRatio(NetworkPacket* pkt); void handleCommand_LocalPlayerAnimations(NetworkPacket* pkt); void handleCommand_EyeOffset(NetworkPacket* pkt); + void handleCommand_UpdatePlayerList(NetworkPacket* pkt); void handleCommand_SrpBytesSandB(NetworkPacket* pkt); void ProcessData(NetworkPacket *pkt); |