Core/Characters: Made homebind location a WorldLocation (this implicitly adds orientation)
Port From (https://github.com/TrinityCore/TrinityCore/commit/68c2fc8ff58d9ad272e8e17391a6bb6c3743923b)
This commit is contained in:
@@ -1605,9 +1605,7 @@ namespace Game.Maps
|
||||
if (!pl.IsBeingTeleportedFar())
|
||||
{
|
||||
// this is happening for bg
|
||||
Log.outError(LogFilter.Maps,
|
||||
"Map.UnloadAll: player {0} is still in map {1} during unload, this should not happen!",
|
||||
pl.GetName(), GetId());
|
||||
Log.outError(LogFilter.Maps, $"Map.UnloadAll: player {pl.GetName()} is still in map {GetId()} during unload, this should not happen!");
|
||||
pl.TeleportTo(pl.GetHomebind());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user