mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 01:23:47 +00:00
Add summoner information to TeleportTo function and created OnBeforeTeleport hook
This commit is contained in:
@@ -721,5 +721,5 @@ void WorldSession::HandleSummonResponseOpcode(WorldPacket& recvData)
|
||||
agree = false;
|
||||
}
|
||||
_player->SetSummonAsSpectator(false);
|
||||
_player->SummonIfPossible(agree);
|
||||
_player->SummonIfPossible(agree, summoner_guid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user