0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 21:30:43 -05:00

Fixed type errors

This commit is contained in:
Chomp 2024-12-26 23:21:02 +00:00
parent 163e533f6e
commit cde5216b84
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import { BotEquipmentModGenerator } from "@spt/generators/BotEquipmentModGenerator";
import type { IInventoryMagGen } from "@spt/generators/weapongen/IInventoryMagGen";
import type { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen";
import { InventoryMagGen } from "@spt/generators/weapongen/InventoryMagGen";
import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper";
import { BotWeaponGeneratorHelper } from "@spt/helpers/BotWeaponGeneratorHelper";
import type { ItemHelper } from "@spt/helpers/ItemHelper";
@ -417,6 +417,7 @@ export class BotWeaponGenerator {
ammoTemplate,
inventory,
);
this.inventoryMagGenComponents
.find((v) => v.canHandleInventoryMagGen(inventoryMagGenModel))
.process(inventoryMagGenModel);

View File

@ -10,7 +10,7 @@ import type { IGrid, ITemplateItem } from "@spt/models/eft/common/tables/ITempla
import type { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData";
import { BaseClasses } from "@spt/models/enums/BaseClasses";
import { ConfigTypes } from "@spt/models/enums/ConfigTypes";
import type { ItemAddedResult } from "@spt/models/enums/ItemAddedResult";
import { ItemAddedResult } from "@spt/models/enums/ItemAddedResult";
import type { IChooseRandomCompatibleModResult } from "@spt/models/spt/bots/IChooseRandomCompatibleModResult";
import type { EquipmentFilters, IBotConfig, IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig";
import type { IPmcConfig } from "@spt/models/spt/config/IPmcConfig";