mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
revert 5df7ffa, hack
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user