fix(Scripts/Northrend): Exclude Dalaran Sewer Exit Pipe from GUARD teleport checks (#21222)

This commit is contained in:
chaosua
2025-02-06 21:50:22 +02:00
committed by GitHub
parent 994eccebdf
commit 775febad9c

View File

@@ -444,7 +444,9 @@ public:
void MoveInLineOfSight(Unit* who) override
{
if (!who || !who->IsInWorld() || who->GetZoneId() != 4395)
// 4395 Dalaran
// 4569 Sewer Exit Pipe
if (!who || !who->IsInWorld()|| who->GetZoneId() != 4395 || who->GetAreaId() == 4569)
return;
if (!me->IsWithinDist(who, 5.0f, false))