MultiServer: delete unused function

This commit is contained in:
Fabian Dill
2022-01-28 09:29:29 +01:00
parent dd61d0d395
commit 25dd89ed17
3 changed files with 3 additions and 8 deletions

View File

@@ -167,7 +167,7 @@ def distribute_items_restrictive(world: MultiWorld):
if progitempool:
fill_restrictive(world, world.state, defaultlocations, progitempool)
if(len(progitempool) > 0):
if progitempool:
raise FillError(
f'Not enough locations for progress items. There are {len(progitempool)} more items than locations')
@@ -176,7 +176,7 @@ def distribute_items_restrictive(world: MultiWorld):
# needs logical fill to not conflict with local items
nonexcludeditempool, defaultlocations = fast_fill(
world, nonexcludeditempool, defaultlocations)
if(len(nonexcludeditempool) > 0):
if nonexcludeditempool:
raise FillError(
f'Not enough locations for non-excluded items. There are {len(nonexcludeditempool)} more items than locations')