Skip to content

Commit

Permalink
Core: remove outdated assert on push_item
Browse files Browse the repository at this point in the history
  • Loading branch information
Berserker66 committed Apr 14, 2023
1 parent 8ada919 commit 469807b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion BaseClasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,6 @@ def push_precollected(self, item: Item):
self.state.collect(item, True)

def push_item(self, location: Location, item: Item, collect: bool = True):
assert location.can_fill(self.state, item, False), f"Cannot place {item} into {location}."
location.item = item
item.location = location
if collect:
Expand Down

0 comments on commit 469807b

Please sign in to comment.