mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Guilds: Use correct variable type when saving guild bank tab rigths to DB
This commit is contained in:
@@ -290,9 +290,9 @@ void Guild::RankInfo::CreateMissingTabsIfNeeded(uint8 tabs, SQLTransaction& tran
|
||||
|
||||
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_INS_GUILD_BANK_RIGHT);
|
||||
stmt->setUInt32(0, m_guildId);
|
||||
stmt->setUInt8 (1, i);
|
||||
stmt->setUInt8 (2, m_rankId);
|
||||
stmt->setUInt32(3, rightsAndSlots.GetRights());
|
||||
stmt->setUInt8(1, i);
|
||||
stmt->setUInt8(2, m_rankId);
|
||||
stmt->setUInt8(3, rightsAndSlots.GetRights());
|
||||
stmt->setUInt32(4, rightsAndSlots.GetSlots());
|
||||
trans->Append(stmt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user