Expanded weapon crate fix to include common/rare creates
(cherry picked from commit 111b75d1ab
)
This commit is contained in:
parent
1762f1637d
commit
815e6e238c
@ -878,7 +878,8 @@ export class InventoryController
|
|||||||
|
|
||||||
let foundInRaid = openedItem.upd?.SpawnedInSession;
|
let foundInRaid = openedItem.upd?.SpawnedInSession;
|
||||||
const rewards: Item[][] = [];
|
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;
|
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