Core/Instances: Add prepared statements for InstanceLockMgr

Port From (https://github.com/TrinityCore/TrinityCore/commit/4ce1c6cdf419b52b889ad9dac7fb69d0059a1fe6)
This commit is contained in:
hondacrx
2022-10-04 17:08:38 -04:00
parent 276d199a6f
commit 8b6a703058
3 changed files with 54 additions and 17 deletions
+1 -1
View File
@@ -4029,7 +4029,7 @@ namespace Game.Entities
stmt.AddValue(0, guid);
trans.Append(stmt);
stmt = DB.Characters.GetPreparedStatement(CharStatements.DEL_CHAR_INSTANCE);
stmt = DB.Characters.GetPreparedStatement(CharStatements.DEL_CHARACTER_INSTANCE_LOCK_BY_GUID);
stmt.AddValue(0, guid);
trans.Append(stmt);