Core/Auras: restrict target map update only to area auras as player requires to have auras registered on load

This commit is contained in:
ariel-
2022-07-05 21:55:22 +02:00
committed by Ovahlord
parent e23f4e38cf
commit 6640641cce

View File

@@ -565,10 +565,6 @@ void Aura::UpdateTargetMap(Unit* caster, bool apply)
m_updateTargetMapInterval = UPDATE_TARGET_MAP_INTERVAL;
// skip update if owner is not in world!
if (!GetOwner()->IsInWorld())
return;
// fill up to date target list
// target, effMask
std::unordered_map<Unit*, uint8> targets;