Fix spawn markers
(Fallout from the arbitrary dimension name change)
This commit is contained in:
@@ -534,7 +534,8 @@ class TileSet(object):
|
|||||||
if isOverlay:
|
if isOverlay:
|
||||||
d.update({"tilesets": self.options.get("overlay")})
|
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")})
|
d.update({"spawn": self.options.get("spawn")})
|
||||||
else:
|
else:
|
||||||
d.update({"spawn": "false"});
|
d.update({"spawn": "false"});
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ class World(object):
|
|||||||
spawnY = 255
|
spawnY = 255
|
||||||
|
|
||||||
# Open up the chunk that the spawn is in
|
# Open up the chunk that the spawn is in
|
||||||
regionset = self.get_regionset("overworld")
|
regionset = self.get_regionset(None)
|
||||||
if not regionset:
|
if not regionset:
|
||||||
return None
|
return None
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user