From 7316e6377d08f2c7ad01218209dc077f2a5deb8b Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 21 Aug 2024 17:05:38 +0100 Subject: [PATCH] Added equipment preset area to `addUpdateinventoryItemToProfile` blacklist --- project/src/controllers/HideoutController.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/project/src/controllers/HideoutController.ts b/project/src/controllers/HideoutController.ts index 51a7d4bb..cd17682e 100644 --- a/project/src/controllers/HideoutController.ts +++ b/project/src/controllers/HideoutController.ts @@ -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); }