fix(Core/Player): SpellQueue fix typo StartRecoveryCategory (#20944)

fix: typo StartRecoveryCategory

should be category
This commit is contained in:
Jelle Meeus
2024-12-17 14:38:24 +01:00
committed by GitHub
parent 3a20433827
commit 88eb6fbb2b

View File

@@ -2294,7 +2294,7 @@ bool Player::CanRequestSpellCast(SpellInfo const* spellInfo)
return false;
// Check for existing cast request with the same category
if (GetCastRequest(spellInfo->StartRecoveryCategory))
if (GetCastRequest(spellInfo->GetCategory()))
return false;
if (GetGlobalCooldownMgr().GetGlobalCooldown(spellInfo) > GetSpellQueueWindow())