mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
Merge branch 'azerothcore:master' into Playerbot
This commit is contained in:
@@ -1394,7 +1394,7 @@ void Guild::HandleSetRankInfo(WorldSession* session, uint8 rankId, std::string_v
|
||||
rankInfo->SetRights(rights);
|
||||
_SetRankBankMoneyPerDay(rankId, moneyPerDay);
|
||||
|
||||
for (auto rightsAndSlot : rightsAndSlots)
|
||||
for (auto& rightsAndSlot : rightsAndSlots)
|
||||
_SetRankBankTabRightsAndSlots(rankId, rightsAndSlot);
|
||||
|
||||
_BroadcastEvent(GE_RANK_UPDATED, ObjectGuid::Empty, std::to_string(rankId), rankInfo->GetName(), std::to_string(m_ranks.size()));
|
||||
@@ -2411,7 +2411,7 @@ void Guild::_CreateNewBankTab()
|
||||
trans->Append(stmt);
|
||||
|
||||
++tabId;
|
||||
for (auto & m_rank : m_ranks)
|
||||
for (auto& m_rank : m_ranks)
|
||||
m_rank.CreateMissingTabsIfNeeded(tabId, trans, false);
|
||||
|
||||
CharacterDatabase.CommitTransaction(trans);
|
||||
|
||||
Reference in New Issue
Block a user