fix(Core/Spells): channels no longer update player server-side orientation (#22138)

This commit is contained in:
Jelle Meeus
2025-06-07 13:58:53 +02:00
committed by GitHub
parent 416955907d
commit 13e9ae5206

View File

@@ -3451,7 +3451,7 @@ bool Spell::UpdateChanneledTargetList()
continue;
}
// Xinef: Update Orientation server side (non players wont sent appropriate packets)
else if (m_spellInfo->HasAttribute(SPELL_ATTR1_TRACK_TARGET_IN_CHANNEL))
else if (!m_caster->IsPlayer() && m_spellInfo->HasAttribute(SPELL_ATTR1_TRACK_TARGET_IN_CHANNEL))
m_caster->UpdateOrientation(m_caster->GetAngle(unit));
}
}