Core/Scripts: Add bossId in state error log. (#21421)

(cherry picked from commit b9aec3b4d3)
This commit is contained in:
Gooyeth
2018-02-15 02:00:48 -06:00
committed by Shauren
parent 1f3e365ff6
commit 17004c4121

View File

@@ -359,7 +359,7 @@ bool InstanceScript::SetBossState(uint32 id, EncounterState state)
if (bossInfo->state == DONE)
{
TC_LOG_ERROR("map", "InstanceScript: Tried to set instance state from %s back to %s for map %u, instance id %u. Blocked!", GetBossStateName(bossInfo->state), GetBossStateName(state), instance->GetId(), instance->GetInstanceId());
TC_LOG_ERROR("map", "InstanceScript: Tried to set instance boss %u state from %s back to %s for map %u, instance id %u. Blocked!", id, GetBossStateName(bossInfo->state), GetBossStateName(state), instance->GetId(), instance->GetInstanceId());
return false;
}