TrinityCore/TrinityCore — comment on commit 57490ead833074bd83ae38be8ee50e9f9813759a
File:  line 0
By vlad852:

It's cuz getSelectedPlayer always return valid data - yourself if selected none