From 815e6e238c1fe80f0fa42c614f91b1d85472e863 Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 15 Jul 2024 11:30:03 +0100 Subject: [PATCH] Expanded weapon crate fix to include common/rare creates (cherry picked from commit 111b75d1ababe90614a099eb41d25c6f9c5cab3c) --- project/src/controllers/InventoryController.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project/src/controllers/InventoryController.ts b/project/src/controllers/InventoryController.ts index b64334c8..24cc9e8d 100644 --- a/project/src/controllers/InventoryController.ts +++ b/project/src/controllers/InventoryController.ts @@ -878,7 +878,8 @@ export class InventoryController let foundInRaid = openedItem.upd?.SpawnedInSession; const rewards: Item[][] = []; - if (isSealedWeaponBox || containerDetailsDb[1]._id === "665829424de4820934746ce6") // Temp fix for unlocked weapon crate hideout craft + const unlockedWeaponCrates = ["665829424de4820934746ce6", "665732e7ac60f009f270d1ef"];// Temp fix for unlocked weapon crate hideout craft + if (isSealedWeaponBox || unlockedWeaponCrates.includes(containerDetailsDb[1]._id)) { const containerSettings = this.inventoryHelper.getInventoryConfig().sealedAirdropContainer; rewards.push(...this.lootGenerator.getSealedWeaponCaseLoot(containerSettings));