mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +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;
|
return false;
|
||||||
|
|
||||||
// Check for existing cast request with the same category
|
// Check for existing cast request with the same category
|
||||||
if (GetCastRequest(spellInfo->StartRecoveryCategory))
|
if (GetCastRequest(spellInfo->GetCategory()))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (GetGlobalCooldownMgr().GetGlobalCooldown(spellInfo) > GetSpellQueueWindow())
|
if (GetGlobalCooldownMgr().GetGlobalCooldown(spellInfo) > GetSpellQueueWindow())
|
||||||
|
|||||||
Reference in New Issue
Block a user