Prevent duplicate items spawning in static containers
This commit is contained in:
parent
ed82e9ed2f
commit
6231a56fea
@ -429,7 +429,7 @@ export class LocationGenerator
|
||||
itemCountToAdd,
|
||||
this.locationConfig.allowDuplicateItemsInStaticContainers,
|
||||
locklist,
|
||||
);
|
||||
).filter(x => !tplsForced.includes(x));
|
||||
|
||||
// Add forced loot to chosen item pool
|
||||
const tplsToAddToContainer = tplsForced.concat(chosenTpls);
|
||||
|
Loading…
Reference in New Issue
Block a user