0

Merge branch 'grasscolor-fix' of https://github.com/agrif/Minecraft-Overviewer into agrif-grasscolor-fix

This commit is contained in:
Andrew Chin
2011-01-01 20:57:24 -05:00
4 changed files with 26 additions and 13 deletions

View File

@@ -211,6 +211,8 @@ class ChunkRenderer(object):
if self.world.useBiomeData:
# make sure we've at least *tried* to load the color arrays in this process...
textures.prepareBiomeData(self.world.worlddir)
if not textures.grasscolor or not textures.foliagecolor:
raise Exception("Can't find grasscolor.png or foliagecolor.png")