fix: ChatServer crash on startup (#1303)

This commit is contained in:
David Markowitz
2023-11-17 23:15:31 -08:00
committed by GitHub
parent 7f623d358c
commit 98822d400f
3 changed files with 4 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
#include "ChatPackets.h"
#include "dConfig.h"
PlayerContainer::PlayerContainer() {
void PlayerContainer::Initialize() {
GeneralUtils::TryParse<uint32_t>(Game::config->GetValue("max_number_of_best_friends"), m_MaxNumberOfBestFriends);
GeneralUtils::TryParse<uint32_t>(Game::config->GetValue("max_number_of_friends"), m_MaxNumberOfFriends);
}