mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
MultiServer: delete unused function
This commit is contained in:
4
Fill.py
4
Fill.py
@@ -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')
|
||||
|
||||
|
Reference in New Issue
Block a user