Core/Players: Fix deleting favorite spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/39e9a5e193339694f8990a9e2d49c43e98dce820)
This commit is contained in:
@@ -1948,8 +1948,8 @@ namespace Game.Entities
|
|||||||
}
|
}
|
||||||
|
|
||||||
stmt = CharacterDatabase.GetPreparedStatement(CharStatements.DEL_CHAR_SPELL_FAVORITE);
|
stmt = CharacterDatabase.GetPreparedStatement(CharStatements.DEL_CHAR_SPELL_FAVORITE);
|
||||||
stmt.AddValue(0, id);
|
stmt.AddValue(0, GetGUID().GetCounter());
|
||||||
stmt.AddValue(1, GetGUID().GetCounter());
|
stmt.AddValue(1, id);
|
||||||
trans.Append(stmt);
|
trans.Append(stmt);
|
||||||
|
|
||||||
if (spell.Favorite)
|
if (spell.Favorite)
|
||||||
|
|||||||
Reference in New Issue
Block a user