mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Spells: add some missing breaks
(cherry picked from commit f3cbcae102)
This commit is contained in:
@@ -6701,10 +6701,12 @@ SpellCastResult Spell::CheckItems(uint32* param1 /*= nullptr*/, uint32* param2 /
|
||||
// main hand weapon required
|
||||
if (!m_spellInfo->HasAttribute(SPELL_ATTR3_MAIN_HAND))
|
||||
return SPELL_CAST_OK;
|
||||
break;
|
||||
case OFF_ATTACK:
|
||||
// offhand hand weapon required
|
||||
if (!m_spellInfo->HasAttribute(SPELL_ATTR3_REQ_OFFHAND))
|
||||
return SPELL_CAST_OK;
|
||||
break;
|
||||
default:
|
||||
return SPELL_CAST_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user