Check if player is online before showing
Fixed indent
Merge pull request #1910 from Falkirks/master

Improve behaviour of showPlayer()