Core/Misc: Ensure that query used for .reload creature_template command always matches the one used for loading during startup

Port From (https://github.com/TrinityCore/TrinityCore/commit/df0a027444e85a37ea39e4da6f5b13754ad211c8)
This commit is contained in:
hondacrx
2020-06-10 12:50:18 -04:00
parent 708c37b78c
commit 0d590cee7b
3 changed files with 6 additions and 20 deletions
@@ -216,6 +216,7 @@ namespace Game.Chat
{
PreparedStatement stmt = DB.World.GetPreparedStatement(WorldStatements.SEL_CREATURE_TEMPLATE);
stmt.AddValue(0, entry);
stmt.AddValue(1, 0);
SQLResult result = DB.World.Query(stmt);
if (result.IsEmpty())