This commit is contained in:
Treeston
2018-07-24 22:36:05 +02:00
committed by Ovahlord
parent 77233dd073
commit 8b81f1d9f0

View File

@@ -693,10 +693,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
if (goInfo->trap.spellId)
CastSpell(target, goInfo->trap.spellId);