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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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())