Skip to content

Commit

Permalink
fix(Core/Player): SpellQueue fix typo StartRecoveryCategory (azerothc…
Browse files Browse the repository at this point in the history
…ore#20944)

fix: typo StartRecoveryCategory

should be category
  • Loading branch information
sogladev authored and xpdemon committed Dec 25, 2024
1 parent acbdd7b commit 673110e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Entities/Player/PlayerUpdates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2295,7 +2295,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())
Expand Down

0 comments on commit 673110e

Please sign in to comment.