Skip to content

Commit

Permalink
🐛 Fix duplicated search_for_item transformation in BlockedUnlockPickup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathïs Fédérico committed Jan 24, 2024
1 parent 71c3603 commit a2c2210
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/hcraft/examples/minicraft/unlockpickupblocked.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,6 @@ def build_transformations(self) -> List[Transformation]:
)
transformations.append(search_for_item)

search_for_item = Transformation(
f"search_for_{item.name}",
inventory_changes=inventory_changes,
zone=zone,
)
transformations.append(search_for_item)

for item in (self.KEY, self.BOX, self.BALL):
pickup = Transformation(
f"pickup_{item.name}",
Expand Down

0 comments on commit a2c2210

Please sign in to comment.