0

added slime overlay, colors chunks green if slimes can spawn

This commit is contained in:
Aaron Griffith
2012-06-05 23:18:15 -04:00
parent f4a1c32d1a
commit 05bfaaf967
8 changed files with 150 additions and 8 deletions

View File

@@ -136,7 +136,12 @@ class World(object):
except KeyError:
# but very old ones might not? so we'll just go with the world dir name if they don't
self.name = os.path.basename(os.path.realpath(self.worlddir))
try:
# level.dat also has a RandomSeed attribute
self.seed = data['RandomSeed']
except KeyError:
self.seed = 0 # oh well
# TODO figure out where to handle regionlists