mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Make client report a newer version number to the server than 2011-07-31 does and make the server enforce it
This commit is contained in:
@@ -431,7 +431,7 @@ void Client::step(float dtime)
|
||||
snprintf((char*)&data[23], PASSWORD_SIZE, "%s", m_password.c_str());
|
||||
|
||||
// This should be incremented in each version
|
||||
writeU16(&data[51], 1);
|
||||
writeU16(&data[51], 2);
|
||||
|
||||
// Send as unreliable
|
||||
Send(0, data, false);
|
||||
|
Reference in New Issue
Block a user