From 92880c7c3825842a7a3d46c680e0f98dc5d5a533 Mon Sep 17 00:00:00 2001 From: Andrew Chin Date: Sun, 1 Jan 2012 22:03:43 -0500 Subject: [PATCH] Use the right coordinate system --- overviewer_core/world.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overviewer_core/world.py b/overviewer_core/world.py index 44a49e8..7c5116f 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -227,7 +227,7 @@ but may be several per invocation of the Overviewer in the case of multi-world. its x, z coordinates. The coordinates are chunk coordinates. """ - regionfile = self.regionfiles[(x,y)] + regionfile = self.get_region_path(x,y) if regionfile is None: return None @@ -285,7 +285,7 @@ Old name: world.iterate_chunk_metadata This is therefore a dual purpose method. It corrects for the given north direction as described in the docs for get_chunk()""" - regionfile = self.regionfiles[(x,y)] + regionfile = self.get_region_path(x,y) if regionfile is None: return None