Core/Players: Fix logic in CanSeeSpellClickOn
Port From (https://github.com/TrinityCore/TrinityCore/commit/80421d7cacb5bac4d18ac03e25e007552af55370)
This commit is contained in:
@@ -252,7 +252,7 @@ namespace Game.Entities
|
|||||||
|
|
||||||
var clickBounds = Global.ObjectMgr.GetSpellClickInfoMapBounds(creature.GetEntry());
|
var clickBounds = Global.ObjectMgr.GetSpellClickInfoMapBounds(creature.GetEntry());
|
||||||
if (clickBounds.Empty())
|
if (clickBounds.Empty())
|
||||||
return false;
|
return true;
|
||||||
|
|
||||||
foreach (var spellClickInfo in clickBounds)
|
foreach (var spellClickInfo in clickBounds)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user