diff options
Diffstat (limited to '')
-rw-r--r-- | src/Server.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Server.h b/src/Server.h index 479fbb865..171d68d48 100644 --- a/src/Server.h +++ b/src/Server.h @@ -94,6 +94,9 @@ public: // tolua_end + /** Returns true if clients must accept resource pack. This is read from the settings. */ + bool ShouldRequireResourcePack(void) { return m_RequireResourcePack; } + const AString & GetResourcePackUrl(void) { return m_ResourcePackUrl; } std::string_view GetCustomRedirectUrl(void) { return m_CustomRedirectUrl; } @@ -223,6 +226,7 @@ private: AString m_FaviconData; size_t m_MaxPlayers; bool m_bIsHardcore; + bool m_RequireResourcePack; AString m_ResourcePackUrl; AString m_CustomRedirectUrl; |