fix(Core/Graveyard): prevent non-death knights from getting ported to… (#8206)
This commit is contained in:
parent
c358bd5f79
commit
29c94e5455
7 changed files with 41 additions and 19 deletions
|
|
@ -1377,7 +1377,7 @@ public:
|
|||
Player* player = handler->GetSession()->GetPlayer();
|
||||
uint32 zone_id = player->GetZoneId();
|
||||
|
||||
GraveyardStruct const* graveyard = sGraveyard->GetClosestGraveyard(player->GetPositionX(), player->GetPositionY(), player->GetPositionZ(), player->GetMapId(), teamId);
|
||||
GraveyardStruct const* graveyard = sGraveyard->GetClosestGraveyard(player, teamId);
|
||||
|
||||
if (graveyard)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue