diff --git a/.gitignore b/.gitignore index 1be317a..a995259 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,6 @@ ipch/ *.opensdf *.suo *.sln -server.properties \ No newline at end of file +server.properties +MinecraftDedicatedServer.exe +MinecraftDedicatedServer \ No newline at end of file diff --git a/Core/ServerProperties.cpp b/Core/ServerProperties.cpp index 907d4da..23799c0 100644 --- a/Core/ServerProperties.cpp +++ b/Core/ServerProperties.cpp @@ -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);