Added equipment preset area to addUpdateinventoryItemToProfile blacklist

This commit is contained in:
Dev 2024-08-21 17:05:38 +01:00
parent 88e682de9c
commit 7316e6377d

View File

@ -283,7 +283,13 @@ export class HideoutController {
this.addUpdateInventoryItemToProfile(pmcData, dbHideoutArea, hideoutStage);
// Dont inform client when upgraded area is hall of fame/cult circle, BSG doesn't inform client upgrade has occurred, will break client if data is sent
if (![HideoutAreas.PLACE_OF_FAME, HideoutAreas.CIRCLE_OF_CULTISTS].includes(dbHideoutArea.type)) {
if (
![
HideoutAreas.PLACE_OF_FAME,
HideoutAreas.CIRCLE_OF_CULTISTS,
HideoutAreas.EQUIPMENT_PRESETS_STAND,
].includes(dbHideoutArea.type)
) {
// Inform client of changes
this.addContainerUpgradeToClientOutput(output, sessionID, dbHideoutArea.type, dbHideoutArea, hideoutStage);
}