Plando: verify from_pool type (#2200)
This commit is contained in:
parent
a8e03420ec
commit
d892622ab1
3
Fill.py
3
Fill.py
|
@ -792,6 +792,9 @@ def distribute_planned(world: MultiWorld) -> None:
|
|||
block['force'] = 'silent'
|
||||
if 'from_pool' not in block:
|
||||
block['from_pool'] = True
|
||||
elif not isinstance(block['from_pool'], bool):
|
||||
from_pool_type = type(block['from_pool'])
|
||||
raise Exception(f'Plando "from_pool" has to be boolean, not {from_pool_type} for player {player}.')
|
||||
if 'world' not in block:
|
||||
target_world = False
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue