fix(Core/Config): Removed unsued config. (#4957)

This commit is contained in:
UltraNix
2021-04-01 17:27:15 +02:00
committed by GitHub
parent 06ea234efa
commit db043b26ad
2 changed files with 0 additions and 3 deletions

View File

@@ -166,7 +166,6 @@ enum WorldBoolConfigs
CONFIG_DUNGEON_ACCESS_REQUIREMENTS_PORTAL_CHECK_ILVL,
CONFIG_DUNGEON_ACCESS_REQUIREMENTS_LFG_DBC_LEVEL_OVERRIDE,
CONFIG_REGEN_HP_CANNOT_REACH_TARGET_IN_RAID,
CONFIG_SET_SHAPASSHASH,
CONFIG_SET_BOP_ITEM_TRADEABLE,
BOOL_CONFIG_VALUE_COUNT
};

View File

@@ -1417,8 +1417,6 @@ void World::LoadConfigSettings(bool reload)
m_int_configs[CONFIG_GM_LEVEL_CHANNEL_MODERATION] = sConfigMgr->GetOption<int32>("Channel.ModerationGMLevel", 1);
m_bool_configs[CONFIG_SET_SHAPASSHASH] = sConfigMgr->GetBoolDefault("SetDeprecatedExternalPasswords", false);
m_bool_configs[CONFIG_SET_BOP_ITEM_TRADEABLE] = sConfigMgr->GetOption<bool>("Item.SetItemTradeable", true);
// call ScriptMgr if we're reloading the configuration