Nether-only worlds have no spawn
This commit is contained in:
@@ -190,6 +190,8 @@ class World(object):
|
|||||||
|
|
||||||
# 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("overworld")
|
||||||
|
if not regionset:
|
||||||
|
return None
|
||||||
try:
|
try:
|
||||||
chunk = regionset.get_chunk(chunkX, chunkZ)
|
chunk = regionset.get_chunk(chunkX, chunkZ)
|
||||||
except ChunkDoesntExist:
|
except ChunkDoesntExist:
|
||||||
|
|||||||
Reference in New Issue
Block a user