diff --git a/worlds/witness/player_items.py b/worlds/witness/player_items.py index d4ac31a54ee4..acebfe4de9ab 100644 --- a/worlds/witness/player_items.py +++ b/worlds/witness/player_items.py @@ -193,7 +193,7 @@ def get_door_item_ids_in_pool(self) -> List[int]: """ return [ - item_data.ap_code for item_data in self.item_data.values() + cast(int, item_data.ap_code) for item_data in self.item_data.values() if isinstance(item_data.definition, DoorItemDefinition) ]