mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
Core/Players: Fix deleting favorite spells (#30905)
(cherry picked from commit 39e9a5e193)
This commit is contained in:
@@ -20115,8 +20115,8 @@ void Player::_SaveSpells(CharacterDatabaseTransaction trans)
|
||||
}
|
||||
|
||||
stmt = CharacterDatabase.GetPreparedStatement(CHAR_DEL_CHAR_SPELL_FAVORITE);
|
||||
stmt->setUInt32(0, itr->first);
|
||||
stmt->setUInt64(1, GetGUID().GetCounter());
|
||||
stmt->setUInt64(0, GetGUID().GetCounter());
|
||||
stmt->setUInt32(1, itr->first);
|
||||
trans->Append(stmt);
|
||||
|
||||
if (itr->second.favorite)
|
||||
|
||||
Reference in New Issue
Block a user