fix(Core/Spells): typo 89f0c42c0 (#8398)

This commit is contained in:
UltraNix
2021-10-11 05:11:21 +02:00
committed by GitHub
parent bdb02ea15a
commit a6a85c0d5d

View File

@@ -10231,7 +10231,7 @@ void Player::AddSpellAndCategoryCooldowns(SpellInfo const* spellInfo, uint32 ite
}
// Only within the same spellfamily
SpellInfo const* categorySpellInfo = sSpellMgr->GetSpellInfo(i_scset->first);
SpellInfo const* categorySpellInfo = sSpellMgr->GetSpellInfo(i_scset->second);
if (!categorySpellInfo || categorySpellInfo->SpellFamilyName != spellInfo->SpellFamilyName)
{
continue;