1
0
Fork 0
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:
DustyBagel 2024-12-29 12:59:39 -06:00 committed by GitHub
parent b5aab1bcc7
commit 0738190a33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}
}