Remove ancient profile fix
This commit is contained in:
parent
1d9ff8ace8
commit
0d059fbaf4
@ -155,7 +155,6 @@ export class ProfileFixerService
|
||||
}
|
||||
|
||||
this.fixNullTraderSalesSums(pmcProfile);
|
||||
this.updateProfilePocketsToNewId(pmcProfile);
|
||||
this.updateProfileQuestDataValues(pmcProfile);
|
||||
|
||||
if (Object.keys(this.ragfairConfig.dynamic.unreasonableModPrices).length > 0)
|
||||
@ -814,23 +813,6 @@ export class ProfileFixerService
|
||||
return slots;
|
||||
}
|
||||
|
||||
/**
|
||||
* In 18876 bsg changed the pockets tplid to be one that has 3 additional special slots
|
||||
* @param pmcProfile
|
||||
*/
|
||||
protected updateProfilePocketsToNewId(pmcProfile: IPmcData): void
|
||||
{
|
||||
const pocketItem = pmcProfile.Inventory?.items?.find((x) => x.slotId === "Pockets");
|
||||
if (pocketItem)
|
||||
{
|
||||
if (pocketItem._tpl === "557ffd194bdc2d28148b457f")
|
||||
{
|
||||
this.logger.success(this.localisationService.getText("fixer-updated_pockets"));
|
||||
pocketItem._tpl = "627a4e6b255f7527fb05a0f6";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Iterate over players hideout areas and find what's build, look for missing bonuses those areas give and add them if missing
|
||||
* @param pmcProfile Profile to update
|
||||
|
Loading…
Reference in New Issue
Block a user