Moved playercheck to separate method.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Merge remote-tracking branch 'origin/master'