From 663146049538d31184e2004877c5f8a9371659d2 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Sat, 18 Feb 2012 11:35:18 -0500 Subject: [PATCH] Fixed a typo --- 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 6bda5d8..196f135 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -346,9 +346,9 @@ class RegionSet(object): chunk_data = level # Turn the Biomes array into a 16x16 numpy array - biomes = numpy.frombuffer(section['Biomes'], dtype=numpy.uint8) + biomes = numpy.frombuffer(chunk_data['Biomes'], dtype=numpy.uint8) biomes = biomes.reshape((16,16)) - section['Biomes'] = biomes + chunk_data['Biomes'] = biomes for section in chunk_data['Sections']: