From 134a4a1ff70876057b8307cc1b943b1e364b70da Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 10 Jul 2024 14:19:48 +0100 Subject: [PATCH] Fixed `unlocked weapon reward box` from hideout craft returning an error when opened --- project/src/controllers/InventoryController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/controllers/InventoryController.ts b/project/src/controllers/InventoryController.ts index 6767e240..b64334c8 100644 --- a/project/src/controllers/InventoryController.ts +++ b/project/src/controllers/InventoryController.ts @@ -878,7 +878,7 @@ export class InventoryController let foundInRaid = openedItem.upd?.SpawnedInSession; const rewards: Item[][] = []; - if (isSealedWeaponBox) + if (isSealedWeaponBox || containerDetailsDb[1]._id === "665829424de4820934746ce6") // Temp fix for unlocked weapon crate hideout craft { const containerSettings = this.inventoryHelper.getInventoryConfig().sealedAirdropContainer; rewards.push(...this.lootGenerator.getSealedWeaponCaseLoot(containerSettings));