0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00

Fixed bot generation error

This commit is contained in:
Dev 2024-05-30 10:09:04 +01:00
parent b8ee834165
commit 56d135fe6d

View File

@ -48,7 +48,7 @@ export class PMCLootGenerator
{
const items = this.databaseService.getItems();
const pmcPriceOverrides
= this.databaseService.getBots()[botRole === "sptBear" ? "bear" : "usec"].inventory.items
= this.databaseService.getBots().types[botRole === "sptBear" ? "bear" : "usec"].inventory.items
.Pockets;
const allowedItemTypes = this.pmcConfig.pocketLoot.whitelist;