0

Revert "small findSigns.py fix -- loading regions with north_direction pre-rotates"

This reverts commit 085d400337.
This commit is contained in:
Aaron Griffith
2011-09-16 14:27:03 -04:00
parent 085d400337
commit 8c4dd10824
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ for dirpath, dirnames, filenames in os.walk(worlddir):
if matcher.match(f): if matcher.match(f):
print f print f
full = os.path.join(dirpath, f) full = os.path.join(dirpath, f)
r = nbt.load_region(full) r = nbt.load_region(full,north_direction)
chunks = r.get_chunks() chunks = r.get_chunks()
for x,y in chunks: for x,y in chunks:
chunk = r.load_chunk(x,y).read_all() chunk = r.load_chunk(x,y).read_all()

View File

@@ -200,7 +200,7 @@ class MCRFileReader(object):
chunks (as instances of NBTFileReader), getting chunk timestamps, chunks (as instances of NBTFileReader), getting chunk timestamps,
and for listing chunks contained in the file.""" and for listing chunks contained in the file."""
def __init__(self, filename, north_direction='lower-left'): def __init__(self, filename, north_direction):
self._file = None self._file = None
self._filename = filename self._filename = filename
self.north_direction = north_direction self.north_direction = north_direction