Core/Misc: cedf4e2b34 followup - change default value in code

This commit is contained in:
Shauren
2024-09-18 13:05:12 +02:00
parent 3ba2bff58f
commit 5eb358241f

View File

@@ -1041,7 +1041,7 @@ void World::LoadConfigSettings(bool reload)
m_int_configs[CONFIG_START_DEMON_HUNTER_PLAYER_LEVEL] = m_int_configs[CONFIG_MAX_PLAYER_LEVEL];
}
m_int_configs[CONFIG_START_EVOKER_PLAYER_LEVEL] = sConfigMgr->GetIntDefault("StartEvokerPlayerLevel", 58);
m_int_configs[CONFIG_START_EVOKER_PLAYER_LEVEL] = sConfigMgr->GetIntDefault("StartEvokerPlayerLevel", 10);
if (m_int_configs[CONFIG_START_EVOKER_PLAYER_LEVEL] < 1)
{
TC_LOG_ERROR("server.loading", "StartEvokerPlayerLevel ({}) must be in range 1..MaxPlayerLevel({}). Set to 1.",