Core/Spells: stop channeling bar when interrupted also for creature
This commit is contained in:
@@ -4126,9 +4126,6 @@ void Spell::SendChannelUpdate(uint32 time)
|
|||||||
m_caster->SetUInt32Value(UNIT_CHANNEL_SPELL, 0);
|
m_caster->SetUInt32Value(UNIT_CHANNEL_SPELL, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_caster->GetTypeId() != TYPEID_PLAYER)
|
|
||||||
return;
|
|
||||||
|
|
||||||
WorldPacket data(MSG_CHANNEL_UPDATE, 8+4);
|
WorldPacket data(MSG_CHANNEL_UPDATE, 8+4);
|
||||||
data.append(m_caster->GetPackGUID());
|
data.append(m_caster->GetPackGUID());
|
||||||
data << uint32(time);
|
data << uint32(time);
|
||||||
|
|||||||
Reference in New Issue
Block a user