This commit is contained in:
Treeston
2018-07-24 22:36:05 +02:00
parent 5df7ffaf84
commit 2b3f29aa6d

View File

@@ -692,10 +692,6 @@ void GameObject::Update(uint32 diff)
}
else if (Unit* target = ObjectAccessor::GetUnit(*this, m_lootStateUnitGUID))
{
// Set in combat with owner
if (Unit* owner = GetOwner())
target->EngageWithTarget(owner);
// Some traps do not have a spell but should be triggered
CastSpellExtraArgs args;
args.SetOriginalCaster(GetOwnerGUID());