mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Fix Bug from missing obsolete def "SERVER_PROTOCOL_VERSION_MAX"
This commit is contained in:
parent
b5aab1bcc7
commit
0738190a33
1 changed files with 2 additions and 3 deletions
|
@ -249,8 +249,7 @@ void *lan_adv::run()
|
|||
bool strict_checking = g_settings->getBool("strict_protocol_version_checking");
|
||||
server["proto_min"] =
|
||||
strict_checking ? LATEST_PROTOCOL_VERSION : SERVER_PROTOCOL_VERSION_MIN;
|
||||
server["proto_max"] =
|
||||
strict_checking ? LATEST_PROTOCOL_VERSION : SERVER_PROTOCOL_VERSION_MAX;
|
||||
server["proto_max"] = LATEST_PROTOCOL_VERSION;
|
||||
server["url"] = g_settings->get("server_url");
|
||||
server["creative"] = g_settings->getBool("creative_mode");
|
||||
server["damage"] = g_settings->getBool("enable_damage");
|
||||
|
@ -326,4 +325,4 @@ void *lan_adv::run()
|
|||
END_DEBUG_EXCEPTION_HANDLER;
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue