Give a more useful error if the biome color png files can't be found
This commit is contained in:
@@ -564,7 +564,8 @@ try:
|
||||
grasscolor = list(Image.open(_find_file("grasscolor.png")).getdata())
|
||||
foliagecolor = list(Image.open(_find_file("foliagecolor.png")).getdata())
|
||||
except:
|
||||
pass
|
||||
grasscolor = None
|
||||
foliagecolor = None
|
||||
|
||||
currentBiomeFile = None
|
||||
currentBiomeData = None
|
||||
|
||||
Reference in New Issue
Block a user