Skip to content

Commit

Permalink
Mypy thing
Browse files Browse the repository at this point in the history
  • Loading branch information
NewSoupVi committed Nov 21, 2024
1 parent 7329dbb commit ae2c380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/witness/place_early_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .data import static_logic as static_witness_logic

if TYPE_CHECKING:
from . import WitnessWorld
from . import WitnessWorld, cast_not_none


def get_available_early_locations(world: "WitnessWorld") -> List[Location]:
Expand Down Expand Up @@ -131,7 +131,7 @@ def place_early_items(world: "WitnessWorld", prog_itempool: List[Item], fill_loc
debug(f"Placed early good item {item} on early location {item.location}.")
# Item type is satisfied
del eligible_early_items_by_type[next_findable_items_dict[item.name]]
fill_locations.remove(item.location)
fill_locations.remove(cast_not_none(item.location))
for item in unplaced_items:
debug(f"Could not find a suitable placemenet for item {item}.")

Expand Down

0 comments on commit ae2c380

Please sign in to comment.