mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 01:29:07 +00:00
feat(Core/Grids): Remove WorldObject separation in grid containers (#22595)
This commit is contained in:
@@ -911,7 +911,7 @@ public:
|
||||
Creature* passenger = nullptr;
|
||||
Acore::AllCreaturesOfEntryInRange check(handler->GetPlayer(), entry, 20.0f);
|
||||
Acore::CreatureSearcher<Acore::AllCreaturesOfEntryInRange> searcher(handler->GetPlayer(), passenger, check);
|
||||
Cell::VisitAllObjects(handler->GetPlayer(), searcher, 30.0f);
|
||||
Cell::VisitObjects(handler->GetPlayer(), searcher, 30.0f);
|
||||
|
||||
if (!passenger || passenger == target)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user