fix(Core/Player): CanSeeSpellClickOn requires spellclick entry (#25585)

Co-authored-by: Gustavo <[email protected]>
This commit is contained in:
sogladev
2026-05-03 06:24:56 -03:00
committed by GitHub
co-authored by Gustavo
parent 685ef839f8
commit 45018c110f
+1 -1
View File
@@ -14342,7 +14342,7 @@ bool Player::CanSeeSpellClickOn(Creature const* c) const
SpellClickInfoMapBounds clickPair = sObjectMgr->GetSpellClickInfoMapBounds(c->GetEntry());
if (clickPair.first == clickPair.second)
return true;
return false;
for (SpellClickInfoContainer::const_iterator itr = clickPair.first; itr != clickPair.second; ++itr)
{