From 34e0cf0e20e3d98225f3730f70bcad33b6717f11 Mon Sep 17 00:00:00 2001 From: Ryan Rector Date: Thu, 4 Aug 2011 10:33:07 -0600 Subject: [PATCH] Set default north_direction for get_blockarray_fromfile --- overviewer_core/chunk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overviewer_core/chunk.py b/overviewer_core/chunk.py index 3920a13..8af6757 100644 --- a/overviewer_core/chunk.py +++ b/overviewer_core/chunk.py @@ -75,7 +75,7 @@ def get_blockarray(level): Block array, which just contains all the block ids""" return level['Blocks'] -def get_blockarray_fromfile(filename, north_direction): +def get_blockarray_fromfile(filename, north_direction='lower-left'): """Same as get_blockarray except takes a filename. This is a shortcut""" d = nbt.load_from_region(filename, x, y, north_direction) level = d[1]['Level']