From 51254948aa697b3b4d1848ae6a6eacb9b3ad36a7 Mon Sep 17 00:00:00 2001 From: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Date: Thu, 12 Jun 2025 12:57:32 -0400 Subject: [PATCH] Fix plando `count` value --- Fill.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Fill.py b/Fill.py index d0a42c07eb..98fc93f39f 100644 --- a/Fill.py +++ b/Fill.py @@ -937,7 +937,8 @@ def parse_planned_blocks(multiworld: MultiWorld) -> dict[int, list[PlandoItemBlo count = block.count if not count: - count = len(new_block.items) + count = (min(len(new_block.items), len(new_block.resolved_locations)) + if new_block.resolved_locations else len(new_block.items)) if isinstance(count, int): count = {"min": count, "max": count} if "min" not in count: