mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-17 13:39:46 -04:00
*Teleport player to home if player falls under the map and no close grave is available.
--HG-- branch : trunk
This commit is contained in:
@@ -4552,6 +4552,8 @@ void Player::RepopAtGraveyard()
|
||||
GetSession()->SendPacket(&data);
|
||||
}
|
||||
}
|
||||
else if(GetPositionZ() < -500.0f)
|
||||
TeleportTo(m_homebindMapId, m_homebindX, m_homebindY, m_homebindZ, GetOrientation());
|
||||
}
|
||||
|
||||
void Player::JoinedChannel(Channel *c)
|
||||
|
||||
Reference in New Issue
Block a user