Fix spawn markers
(Fallout from the arbitrary dimension name change)
This commit is contained in:
@@ -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"});
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user