Core/Spells: rework part 4: iterate over effects first

Port From (https://github.com/TrinityCore/TrinityCore/commit/65dca120d34febdaa84a63e17f638ab0fa59b3df)
This commit is contained in:
hondacrx
2021-08-28 22:35:39 -04:00
parent 091272755c
commit e97ffa304d
6 changed files with 693 additions and 663 deletions
+1 -1
View File
@@ -541,7 +541,7 @@ namespace Game.Chat
if (selected.IsEmpty())
return _session.GetPlayer();
return Global.ObjAccessor.FindPlayer(selected);
return Global.ObjAccessor.FindConnectedPlayer(selected);
}
public Unit GetSelectedUnit()
{