Save/load

Fixed error causing program to crash while loading and saving chunks and SmoothHeightMapChunks.

Sinjax also provides a fix to this error in his pull request.