add AutoWorld.generate_early, optimize Location

This commit is contained in:
Fabian Dill
2021-07-15 08:50:08 +02:00
parent 3d67e1dbdb
commit 01f0f309d1
5 changed files with 27 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ def link_minecraft_structures(world, player):
assert len(exits) == len(structs)
except AssertionError as e: # this should never happen
raise Exception(f"Could not obtain equal numbers of Minecraft exits and structures for player {player} ({world.player_names[player]})")
num_regions = len(exits)
pairs = {}
def set_pair(exit, struct):