0

Fix spawn markers

(Fallout from the arbitrary dimension name change)
This commit is contained in:
Andrew Chin
2013-02-03 14:56:00 -05:00
parent 66ff7cbcb5
commit 94f51136b1
2 changed files with 3 additions and 2 deletions

View File

@@ -534,7 +534,8 @@ class TileSet(object):
if isOverlay:
d.update({"tilesets": self.options.get("overlay")})
if (self.regionset.get_type() == "overworld" and self.options.get("showspawn", True)):
# None means overworld
if (self.regionset.get_type() == None and self.options.get("showspawn", True)):
d.update({"spawn": self.options.get("spawn")})
else:
d.update({"spawn": "false"});

View File

@@ -192,7 +192,7 @@ class World(object):
spawnY = 255
# Open up the chunk that the spawn is in
regionset = self.get_regionset("overworld")
regionset = self.get_regionset(None)
if not regionset:
return None
try: