Core/PacketIO: Fixed quest query packet structure

Port From (https://github.com/TrinityCore/TrinityCore/commit/e540d74610e14b8920570e9ece4c2aa47a4be6ed)
This commit is contained in:
hondacrx
2023-05-21 17:04:11 -04:00
parent d16f24d5c0
commit 63b8922a9e
4 changed files with 35 additions and 11 deletions
+2 -2
View File
@@ -7198,8 +7198,8 @@ namespace Game
// Load `quest_reward_display_spell`
// 0 1 2
result = DB.World.Query("SELECT QuestID, SpellID, PlayerConditionID FROM quest_reward_display_spell ORDER BY QuestID ASC, Idx ASC");
// 0 1 2 3
result = DB.World.Query("SELECT QuestID, SpellID, PlayerConditionID, Type FROM quest_reward_display_spell ORDER BY QuestID ASC, Idx ASC");
if (result.IsEmpty())
{
Log.outInfo(LogFilter.ServerLoading, "Loaded 0 quest reward display spells. DB table `quest_reward_display_spell` is empty.");