fixed accidental revert of fenixin's fix
This commit is contained in:
2
chunk.py
2
chunk.py
@@ -52,7 +52,7 @@ def get_lvldata(world, filename, x, y, retries=2):
|
|||||||
|
|
||||||
# non existent region file doesn't mean corrupt chunk.
|
# non existent region file doesn't mean corrupt chunk.
|
||||||
if filename == None:
|
if filename == None:
|
||||||
return None
|
raise NoSuchChunk
|
||||||
|
|
||||||
try:
|
try:
|
||||||
d = world.load_from_region(filename, x, y)
|
d = world.load_from_region(filename, x, y)
|
||||||
|
|||||||
Reference in New Issue
Block a user