fix(Core): GridCleanUpDelay Log (#17436)

Update World.cpp
This commit is contained in:
IntelligentQuantum
2023-10-07 14:06:11 +03:30
committed by GitHub
parent cc60250977
commit 90b16ca065
+1 -1
View File
@@ -673,7 +673,7 @@ void World::LoadConfigSettings(bool reload)
_int_configs[CONFIG_INTERVAL_GRIDCLEAN] = sConfigMgr->GetOption("GridCleanUpDelay", 5 * MINUTE * IN_MILLISECONDS); _int_configs[CONFIG_INTERVAL_GRIDCLEAN] = sConfigMgr->GetOption("GridCleanUpDelay", 5 * MINUTE * IN_MILLISECONDS);
if (_int_configs[CONFIG_INTERVAL_GRIDCLEAN] < MIN_GRID_DELAY) if (_int_configs[CONFIG_INTERVAL_GRIDCLEAN] < MIN_GRID_DELAY)
{ {
LOG_ERROR("server.loading", "GridCleanUpDelay (%i) must be greater %u. Use this minimal value.", _int_configs[CONFIG_INTERVAL_GRIDCLEAN], MIN_GRID_DELAY); LOG_ERROR("server.loading", "GridCleanUpDelay ({}) must be greater {}. Use this minimal value.", _int_configs[CONFIG_INTERVAL_GRIDCLEAN], MIN_GRID_DELAY);
_int_configs[CONFIG_INTERVAL_GRIDCLEAN] = MIN_GRID_DELAY; _int_configs[CONFIG_INTERVAL_GRIDCLEAN] = MIN_GRID_DELAY;
} }
if (reload) if (reload)