Updated spawnY to match lowest reasonable spawn coordinate

This commit is contained in:
Andrew Francis Thomas 2021-12-15 23:48:37 -07:00
parent 5adbe2728d
commit 09e796b5cd
1 changed files with 2 additions and 2 deletions

View File

@ -198,8 +198,8 @@ class World(object):
disp_spawnZ = spawnZ = data['SpawnZ']
## clamp spawnY to a sane value, in-chunk value
if spawnY < 0:
spawnY = 0
if spawnY < -63:
spawnY = -63
if spawnY > 319:
spawnY = 319