mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Subnautica: fix generation crash on valuable item pool (#739)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import logging
|
||||
import typing
|
||||
|
||||
logger = logging.getLogger("Subnautica")
|
||||
|
||||
@@ -65,7 +64,7 @@ class SubnauticaWorld(World):
|
||||
for item_name in self.world.random.choices(sorted(advancement_item_names - {"Neptune Launch Platform"}),
|
||||
k=extras):
|
||||
item = self.create_item(item_name)
|
||||
item.advancement = False # as it's an extra, just fast-fill it somewhere
|
||||
item.classification = ItemClassification.filler # as it's an extra, just fast-fill it somewhere
|
||||
pool.append(item)
|
||||
|
||||
self.world.itempool += pool
|
||||
|
Reference in New Issue
Block a user