mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 12:47:07 +00:00
Why was we getting the player within 40f?, 12f is probly still a little to much but it works.
This commit is contained in:
@@ -446,7 +446,7 @@ public:
|
||||
if (!who || !who->IsInWorld() || who->GetZoneId() != 4395)
|
||||
return;
|
||||
|
||||
if (!me->IsWithinDist(who, 40.0f, false))
|
||||
if (!me->IsWithinDist(who, 12.0f, false))
|
||||
return;
|
||||
|
||||
Player* player = who->GetCharmerOrOwnerPlayerOrPlayerItself();
|
||||
|
||||
Reference in New Issue
Block a user