feat(Core/Config): rework config and delete ACE inherited (#4608)
This commit is contained in:
parent
c2f274e06d
commit
dbefa17a53
36 changed files with 1340 additions and 816 deletions
|
|
@ -2140,7 +2140,7 @@ bool Guild::Validate()
|
|||
_SetLeaderGUID(pLeader);
|
||||
|
||||
// Check config if multiple guildmasters are allowed
|
||||
if (!sConfigMgr->GetBoolDefault("Guild.AllowMultipleGuildMaster", 0))
|
||||
if (!sConfigMgr->GetOption<bool>("Guild.AllowMultipleGuildMaster", 0))
|
||||
for (Members::iterator itr = m_members.begin(); itr != m_members.end(); ++itr)
|
||||
if (itr->second->GetRankId() == GR_GUILDMASTER && !itr->second->IsSamePlayer(m_leaderGuid))
|
||||
itr->second->ChangeRank(GR_OFFICER);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue