1
0

unhide list of players that was hide by stupid monte48

* close https://codeberg.org/minenux/minetest-engine-multicraft2/issues/48
* related commit 2aa0400bd2a1c205de50ce46e1758f09e1b0c306
This commit is contained in:
mckaygerhard 2024-06-02 05:53:43 -04:00
parent f8bbed282e
commit f2f8f2c92e

View File

@ -3312,7 +3312,7 @@ std::string Server::getStatusString()
// Disabled due to misuse. // Disabled due to misuse.
// Information about clients // Information about clients
/*bool first = true; bool first = true;
os << ", clients={"; os << ", clients={";
if (m_env) { if (m_env) {
std::vector<session_t> clients = m_clients.getClientIDs(); std::vector<session_t> clients = m_clients.getClientIDs();
@ -3330,7 +3330,7 @@ std::string Server::getStatusString()
os << name; os << name;
} }
} }
os << "}";*/ os << "}";
if (m_env && !((ServerMap*)(&m_env->getMap()))->isSavingEnabled()) if (m_env && !((ServerMap*)(&m_env->getMap()))->isSavingEnabled())
os << std::endl << "# Server: " << " WARNING: Map saving is disabled."; os << std::endl << "# Server: " << " WARNING: Map saving is disabled.";