Core/Misc: Added Loading.Locales to enable/disable the load of locales

Port From (https://github.com/TrinityCore/TrinityCore/commit/3fd967754388b7b859dbd8b954ec68a844e172f0)
This commit is contained in:
Hondacrx
2024-08-25 21:03:45 -04:00
parent 9ad961e64a
commit c98e58a7e1
8 changed files with 76 additions and 22 deletions
+3
View File
@@ -1009,6 +1009,9 @@ namespace Game
// Enable AE loot
Values[WorldCfg.EnableAeLoot] = GetDefaultValue("Loot.EnableAELoot", true);
// Loading of Locales
Values[WorldCfg.LoadLocales] = GetDefaultValue("Load.Locales", true);
// call ScriptMgr if we're reloading the configuration
if (reload)
Global.ScriptMgr.OnConfigLoad(reload);