fix(Core/Player): SpellQueue fix typo StartRecoveryCategory (#20944)
fix: typo StartRecoveryCategory should be category
This commit is contained in:
parent
3a20433827
commit
88eb6fbb2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue