mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
remove unused checks (as indicated by new type annotations)
This commit is contained in:
@@ -1766,7 +1766,7 @@ def connect_simple(world, exitname, regionname, player):
|
||||
world.get_entrance(exitname, player).connect(world.get_region(regionname, player))
|
||||
|
||||
|
||||
def connect_entrance(world, entrancename, exitname, player):
|
||||
def connect_entrance(world, entrancename: str, exitname: str, player: int):
|
||||
entrance = world.get_entrance(entrancename, player)
|
||||
# check if we got an entrance or a region to connect to
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user