From 0465787e6a66720d58f99c943aa7914b19476cd8 Mon Sep 17 00:00:00 2001 From: Aaron Griffith Date: Sat, 26 Mar 2011 02:03:13 -0400 Subject: [PATCH] fixed accidental revert of fenixin's fix --- chunk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chunk.py b/chunk.py index a66d4fb..2849c4b 100644 --- a/chunk.py +++ b/chunk.py @@ -52,7 +52,7 @@ def get_lvldata(world, filename, x, y, retries=2): # non existent region file doesn't mean corrupt chunk. if filename == None: - return None + raise NoSuchChunk try: d = world.load_from_region(filename, x, y)