diff options
| author | Gooyeth <migmadmu@hotmail.com> | 2018-02-15 02:00:48 -0600 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-06-21 00:06:41 +0200 |
| commit | 17004c4121051359ba9bae491e3d73851d869820 (patch) | |
| tree | 91203756a33aa25a8a398f1d99539ceccd8262b6 /src | |
| parent | 1f3e365ff6c010424746f34104d1228fb6a96b8a (diff) | |
Core/Scripts: Add bossId in state error log. (#21421)
(cherry picked from commit b9aec3b4d3ea7a2a98214d6a9b923b3a9675fd4d)
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Instances/InstanceScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Instances/InstanceScript.cpp b/src/server/game/Instances/InstanceScript.cpp index d802a96b01d..32317dff54a 100644 --- a/src/server/game/Instances/InstanceScript.cpp +++ b/src/server/game/Instances/InstanceScript.cpp @@ -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; } |
