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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user