mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 13:47:23 +01:00
Core/Commands: fix .appear command provide wrong undermap position (#22624)
(cherry picked from commit 1e99f98327)
This commit is contained in:
@@ -462,7 +462,7 @@ public:
|
||||
|
||||
// to point to see at target with same orientation
|
||||
float x, y, z;
|
||||
target->GetContactPoint(_player, x, y, z);
|
||||
target->GetClosePoint(x, y, z, _player->GetCombatReach(), 1.0f);
|
||||
|
||||
_player->TeleportTo(target->GetMapId(), x, y, z, _player->GetAbsoluteAngle(target), TELE_TO_GM_MODE);
|
||||
PhasingHandler::InheritPhaseShift(_player, target);
|
||||
|
||||
Reference in New Issue
Block a user