mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
Rename names -> can_see_far_names in announce
This commit is contained in:
parent
5004f31575
commit
1309e52198
@ -226,7 +226,7 @@ void sendAnnounce(std::string action, const std::vector<std::string> & clients_n
|
|||||||
server["rollback"] = g_settings->getBool("enable_rollback_recording");
|
server["rollback"] = g_settings->getBool("enable_rollback_recording");
|
||||||
server["liquid_finite"] = g_settings->getBool("liquid_finite");
|
server["liquid_finite"] = g_settings->getBool("liquid_finite");
|
||||||
server["mapgen"] = g_settings->get("mg_name");
|
server["mapgen"] = g_settings->get("mg_name");
|
||||||
server["names"] = g_settings->getBool("unlimited_player_transfer_distance");
|
server["can_see_far_names"] = g_settings->getBool("unlimited_player_transfer_distance");
|
||||||
server["mods"] = Json::Value(Json::arrayValue);
|
server["mods"] = Json::Value(Json::arrayValue);
|
||||||
for(std::vector<ModSpec>::iterator m = mods.begin(); m != mods.end(); m++) {
|
for(std::vector<ModSpec>::iterator m = mods.begin(); m != mods.end(); m++) {
|
||||||
server["mods"].append(m->name);
|
server["mods"].append(m->name);
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
{{=server.pvp ? 'PvP ' : ''}}
|
{{=server.pvp ? 'PvP ' : ''}}
|
||||||
{{=server.password ? 'Pwd ' : ''}}
|
{{=server.password ? 'Pwd ' : ''}}
|
||||||
{{=server.rollback ? 'Rol ' : ''}}
|
{{=server.rollback ? 'Rol ' : ''}}
|
||||||
|
{{=server.can_see_far_names ? 'Far ' : ''}}
|
||||||
</td>{{?}}
|
</td>{{?}}
|
||||||
{{? !master.no_uptime}}
|
{{? !master.no_uptime}}
|
||||||
<td class="uptime">
|
<td class="uptime">
|
||||||
|
Loading…
Reference in New Issue
Block a user