0

Fixed bug in find_true_spawn when spawnY is at a chunk border

Thanks to subz for pushing me to fix this!
This commit is contained in:
Andrew Chin
2012-05-09 20:47:49 -04:00
parent 34e5ddf620
commit a456c2ae8a

View File

@@ -204,6 +204,7 @@ class World(object):
if section['Y'] == targetSection:
blockArray = section['Blocks']
return blockArray[inChunkX, inChunkZ, y % 16]
return 0