From d892622ab1e22ae314c09c5e562e66794feba8d0 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Fri, 24 Nov 2023 17:41:56 +0100 Subject: [PATCH] Plando: verify from_pool type (#2200) --- Fill.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Fill.py b/Fill.py index e89db1bd..342c1550 100644 --- a/Fill.py +++ b/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: