Core/Players: Fix deleting favorite spells (#30905)

(cherry picked from commit 39e9a5e193)
This commit is contained in:
Jason Dove
2025-04-30 03:19:47 -05:00
committed by Ovahlord
parent 4639c38c9e
commit 2924a5336f

View File

@@ -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)