mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Core: remove outdated assert on push_item
This commit is contained in:
@@ -445,7 +445,6 @@ class MultiWorld():
|
|||||||
self.state.collect(item, True)
|
self.state.collect(item, True)
|
||||||
|
|
||||||
def push_item(self, location: Location, item: Item, collect: bool = 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
|
location.item = item
|
||||||
item.location = location
|
item.location = location
|
||||||
if collect:
|
if collect:
|
||||||
|
Reference in New Issue
Block a user