Skip to content

Commit

Permalink
improv: improve "Zone does not exist" error log in AddToWorld
Browse files Browse the repository at this point in the history
  • Loading branch information
Mishura4 committed Jun 14, 2024
1 parent dc292cd commit aa3e1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GameServer/gameobjects/GameObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ public virtual bool AddToWorld()
// Should it be the case, currentZone will be null as well.
if (CurrentZone == null || m_ObjectState == eObjectState.Active)
{
Console.WriteLine($"AddToWorld: Zone does not exist ({this.GetType()} ID: {InternalID})");
log.Error($"AddToWorld: Zone does not exist ({this.GetType()} ID: {InternalID} Coordinate: {Coordinate} Region: {CurrentRegionID})");
return false;
}

Expand Down

0 comments on commit aa3e1e5

Please sign in to comment.