diff --git a/project/src/generators/LocationGenerator.ts b/project/src/generators/LocationGenerator.ts index 324731d8..f5eb2af6 100644 --- a/project/src/generators/LocationGenerator.ts +++ b/project/src/generators/LocationGenerator.ts @@ -821,10 +821,7 @@ export class LocationGenerator const itemWithMods: Item[] = []; // Money/Ammo - don't rely on items in spawnPoint.template.Items so we can randomise it ourselves - if ( - this.itemHelper.isOfBaseclass(chosenTpl, BaseClasses.MONEY) - || this.itemHelper.isOfBaseclass(chosenTpl, BaseClasses.AMMO) - ) + if (this.itemHelper.isOfBaseclasses(chosenTpl, [BaseClasses.MONEY, BaseClasses.AMMO])) { const stackCount = itemTemplate._props.StackMaxSize === 1 ? 1