This commit is contained in:
Killyana
2020-01-01 17:38:52 +01:00
parent a32aeceb0d
commit 0eb9e4d805

View File

@@ -4554,8 +4554,7 @@ void Spell::SendChannelStart(uint32 duration)
if (Creature* creatureCaster = m_caster->ToCreature())
if (!creatureCaster->HasSpellFocus(this))
creatureCaster->SetSpellFocus(this,
ObjectAccessor::GetWorldObject(*creatureCaster, channelTarget));
creatureCaster->SetSpellFocus(this, ObjectAccessor::GetWorldObject(*creatureCaster, channelTarget));
}
unitCaster->SetUInt32Value(UNIT_CHANNEL_SPELL, m_spellInfo->Id);