diff options
author | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-25 14:44:22 +0100 |
---|---|---|
committer | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-25 14:44:22 +0100 |
commit | d0a7f9a57d734ce99da262fdf7dd206351fa8ac3 (patch) | |
tree | 0a1314457d6fb3d097b6bd08ce2135c86b0f94df /source/cClientHandle.cpp | |
parent | The missing file! cChunkGenerator.h/cpp (diff) | |
download | cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.tar cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.tar.gz cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.tar.bz2 cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.tar.lz cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.tar.xz cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.tar.zst cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cClientHandle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp index 3d54dc4d9..fefdb8aec 100644 --- a/source/cClientHandle.cpp +++ b/source/cClientHandle.cpp @@ -1220,6 +1220,7 @@ void cClientHandle::Tick(float a_Dt) LoginResponse.m_ServerMode = m_Player->GetGameMode(); //set gamemode from player.
LoginResponse.m_MapSeed = 0;
LoginResponse.m_Dimension = 0;
+ LoginResponse.m_MaxPlayers = (unsigned char)cRoot::Get()->GetWorld()->GetMaxPlayers();
Send( LoginResponse );
// Send Weather if raining:
|