Make playerSystem world generation agnostic

This pull fixes bug that causes null pointer error crash if seaLevel facet or surfaceHeight facet isn't used.
I suggest to assign the values to local variables first and compare them against null afterward. This makes it easier to read.