revert 5df7ffa, hack

This commit is contained in:
Treeston authored and Ovahlord committed 2020-09-11 15:01:42 +02:00
1 parent 77233dd073
commit 8b81f1d9f0
1 file changed
-4
@@ -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);