Core/Quests: Corrected wrong quest startup errors

Port From (https://github.com/TrinityCore/TrinityCore/commit/c6a9727841195237025bab96c6ce129d4291fe4c)
This commit is contained in:
hondacrx
2021-11-15 20:47:34 -05:00
parent f2ac17af79
commit c7cb3cc976
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -7283,6 +7283,7 @@ namespace Game
break;
case QuestObjectiveType.Money:
case QuestObjectiveType.WinPvpPetBattles:
case QuestObjectiveType.ProgressBar:
break;
default:
Log.outError(LogFilter.Sql, "Quest {0} objective {1} has unhandled type {2}", qinfo.Id, obj.Id, obj.Type);
+1 -1
View File
@@ -145,7 +145,7 @@ namespace Game
if (playerConditionId != 0 && !CliDB.PlayerConditionStorage.ContainsKey(playerConditionId))
{
Log.outError(LogFilter.Sql, $"Table `quest_reward_display_spell` has non-existing PlayerCondition ({spellId}) set for quest {Id}. Set to 0.");
Log.outError(LogFilter.Sql, $"Table `quest_reward_display_spell` has non-existing PlayerCondition ({playerConditionId}) set for quest {Id}. and spell {spellId} Set to 0.");
playerConditionId = 0;
}