Core/DB: Fixes sometimes wrong values added to DB, also fixes errors when trying to convert updatefield to object.

This commit is contained in:
hondacrx
2021-04-21 18:06:46 -04:00
parent 897ca11273
commit ba064327b0
30 changed files with 149 additions and 89 deletions
+1 -1
View File
@@ -572,7 +572,7 @@ namespace Game
stmt.AddValue(0, _player.GetGUID().GetCounter());
stmt.AddValue(1, factionState.Id);
stmt.AddValue(2, factionState.Standing);
stmt.AddValue(3, factionState.Flags);
stmt.AddValue(3, (ushort)factionState.Flags);
trans.Append(stmt);
factionState.needSave = false;