Fix error in check for undefined/null player parameters
Merge pull request #97 from robinnorth/master

Fix error in check for undefined/null player parameters