Core/Loot: implemented a custom server config setting to enable or disable AE loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/ccc083593af16f505263f889712f46f9382bb588)
This commit is contained in:
@@ -1011,6 +1011,9 @@ namespace Game
|
||||
// Specifies if IP addresses can be logged to the database
|
||||
Values[WorldCfg.AllowLogginIpAddressesInDatabase] = GetDefaultValue("AllowLoggingIPAddressesInDatabase", true);
|
||||
|
||||
// Enable AE loot
|
||||
Values[WorldCfg.EnableAeLoot] = GetDefaultValue("Loot.EnableAELoot", true);
|
||||
|
||||
// call ScriptMgr if we're reloading the configuration
|
||||
if (reload)
|
||||
Global.ScriptMgr.OnConfigLoad(reload);
|
||||
|
||||
Reference in New Issue
Block a user