Core/Packets: Fixed incorrect area lookup in HandleHearthAndResurrect
This commit is contained in:
@@ -1727,7 +1727,7 @@ void WorldSession::HandleHearthAndResurrect(WorldPacket& /*recv_data*/)
|
||||
if (_player->isInFlight())
|
||||
return;
|
||||
|
||||
AreaTableEntry const *atEntry = sAreaStore.LookupEntry(_player->GetAreaId());
|
||||
AreaTableEntry const *atEntry = GetAreaEntryByAreaID(_player->GetAreaId());
|
||||
if (!atEntry || !(atEntry->flags & AREA_FLAG_OUTDOOR_PVP2))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user