From f20c739c48d4fc4bcdf2de5ce654e2baf00308ba Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sun, 2 Jun 2024 05:59:42 -0400 Subject: [PATCH] unhide list of mods in server list * close https://codeberg.org/minenux/minetest-engine-multicraft2/issues/45 --- src/serverlist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serverlist.cpp b/src/serverlist.cpp index 718a94402..719620f25 100644 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -100,10 +100,10 @@ void sendAnnounce(AnnounceAction action, server["mapgen"] = mg_name; server["privs"] = g_settings->get("default_privs"); server["can_see_far_names"] = g_settings->getS16("player_transfer_distance") <= 0; - /*server["mods"] = Json::Value(Json::arrayValue); + server["mods"] = Json::Value(Json::arrayValue); for (const ModSpec &mod : mods) { server["mods"].append(mod.name); - }*/ + } } else if (action == AA_UPDATE) { if (lag) server["lag"] = lag;