Additional check for getOfllinePlayers()

I do not know why, but this operation doesn't work correctly.