mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
fix(Core/Player): SpellQueue fix typo StartRecoveryCategory (#20944)
fix: typo StartRecoveryCategory should be category
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user