mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 15:28:02 +00:00
fix(Core/Player): CanSeeSpellClickOn requires spellclick entry (#25585)
Co-authored-by: Gustavo <sirikfoll@hotmail.com>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user