summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authorplan1231 <47790831+plan1231@users.noreply.github.com>2022-10-28 15:54:02 +0200
committerGitHub <noreply@github.com>2022-10-28 15:54:02 +0200
commit21ec3ebe26bff24b5fc6d96f86a441c9c9628247 (patch)
treea1a541cbbdce2294059b501d1c9ab69ffe0bae79 /src/Server.cpp
parentrework of the color code with & and standard codes (#5416) (diff)
downloadcuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.tar
cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.tar.gz
cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.tar.bz2
cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.tar.lz
cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.tar.xz
cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.tar.zst
cuberite-21ec3ebe26bff24b5fc6d96f86a441c9c9628247.zip
Diffstat (limited to 'src/Server.cpp')
-rw-r--r--src/Server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index 880ed6c72..36964d41c 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -157,6 +157,7 @@ bool cServer::InitServer(cSettingsRepositoryInterface & a_Settings, bool a_Shoul
m_MaxPlayers = static_cast<size_t>(a_Settings.GetValueSetI("Server", "MaxPlayers", 100));
m_bIsHardcore = a_Settings.GetValueSetB("Server", "HardcoreEnabled", false);
m_bAllowMultiLogin = a_Settings.GetValueSetB("Server", "AllowMultiLogin", false);
+ m_RequireResourcePack = a_Settings.GetValueSetB("Server", "RequireResourcePack", false);
m_ResourcePackUrl = a_Settings.GetValueSet("Server", "ResourcePackUrl", "");
m_CustomRedirectUrl = a_Settings.GetValueSet("Server", "CustomRedirectUrl", "https://youtu.be/dQw4w9WgXcQ");