Fix for Cannot call method 'createPlayerObject' of undefined

Proposed fix for https://github.com/maxogden/voxel-server/issues/3