Fixed unlocked weapon reward box
from hideout craft returning an error when opened
This commit is contained in:
parent
49e5e8413a
commit
44e6735f80
@ -878,7 +878,7 @@ export class InventoryController
|
|||||||
|
|
||||||
let foundInRaid = openedItem.upd?.SpawnedInSession;
|
let foundInRaid = openedItem.upd?.SpawnedInSession;
|
||||||
const rewards: Item[][] = [];
|
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;
|
const containerSettings = this.inventoryHelper.getInventoryConfig().sealedAirdropContainer;
|
||||||
rewards.push(...this.lootGenerator.getSealedWeaponCaseLoot(containerSettings));
|
rewards.push(...this.lootGenerator.getSealedWeaponCaseLoot(containerSettings));
|
||||||
|
Loading…
Reference in New Issue
Block a user