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:
hondacrx
2021-10-16 17:59:01 -04:00
parent 86cc00ff57
commit 2d976d7421
11 changed files with 41 additions and 37 deletions
+1 -2
View File
@@ -2362,8 +2362,7 @@ namespace Game.Chat
if (location_str == "inn")
{
var home = player.GetHomebind();
player.TeleportTo(home.GetMapId(), home.GetPositionX(), home.GetPositionY(), home.GetPositionZ(), player.GetOrientation());
player.TeleportTo(player.GetHomebind());
return true;
}