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
@@ -282,7 +282,7 @@ namespace Game.SupportSystem
stmt.AddValue(++idx, _pos.Z);
stmt.AddValue(++idx, _facing);
stmt.AddValue(++idx, _targetCharacterGuid.GetCounter());
stmt.AddValue(++idx, _complaintType);
stmt.AddValue(++idx, (byte)_complaintType);
if (_chatLog.ReportLineIndex.HasValue)
stmt.AddValue(++idx, _chatLog.ReportLineIndex.Value);
else