Core/Quests: Corrected wrong quest startup errors
Port From (https://github.com/TrinityCore/TrinityCore/commit/c6a9727841195237025bab96c6ce129d4291fe4c)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user