fix max players

This commit is contained in:
NOTPIES
2026-03-15 22:46:21 -03:00
parent c356c7b911
commit 2b492ad8ce
2 changed files with 3 additions and 2 deletions

View File

@@ -79,7 +79,6 @@ bool ServerProperties::load(const wstring& path)
difficulty = getInt(L"difficulty", 2);
maxPlayers = getInt(L"max-players", 8);
if (maxPlayers < 1) maxPlayers = 1;
if (maxPlayers > 8) maxPlayers = 8;
pvp = getBool(L"pvp", true);
trustPlayers = getBool(L"trust-players", true);
fireSpreads = getBool(L"fire-spreads", true);