From a456c2ae8a702925a46ff5721d1b1c403254b296 Mon Sep 17 00:00:00 2001 From: Andrew Chin Date: Wed, 9 May 2012 20:47:49 -0400 Subject: [PATCH] Fixed bug in find_true_spawn when spawnY is at a chunk border Thanks to subz for pushing me to fix this! --- overviewer_core/world.py | 1 + 1 file changed, 1 insertion(+) diff --git a/overviewer_core/world.py b/overviewer_core/world.py index de6fd39..5d9de96 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -204,6 +204,7 @@ class World(object): if section['Y'] == targetSection: blockArray = section['Blocks'] return blockArray[inChunkX, inChunkZ, y % 16] + return 0