Core/Scripts: Add bossId in state error log.
Port From (https://github.com/TrinityCore/TrinityCore/commit/17004c4121051359ba9bae491e3d73851d869820)
This commit is contained in:
@@ -341,7 +341,7 @@ namespace Game.Maps
|
|||||||
|
|
||||||
if (bossInfo.state == EncounterState.Done)
|
if (bossInfo.state == EncounterState.Done)
|
||||||
{
|
{
|
||||||
Log.outError(LogFilter.Maps, $"InstanceScript: Tried to set instance state from {bossInfo.state} back to {state} for map {instance.GetId()}, instance id {instance.GetInstanceId()}. Blocked!");
|
Log.outError(LogFilter.Maps, $"InstanceScript: Tried to set instance boss {id} state from {bossInfo.state} back to {state} for map {instance.GetId()}, instance id {instance.GetInstanceId()}. Blocked!");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user