Removed redundant check on unlocking hideout crafts
(cherry picked from commit 433ea6566ac562bc5cca16b5082fa6d76a0ee86b)
This commit is contained in:
parent
b72e6da22e
commit
bf8a403372
@ -1061,9 +1061,7 @@ export class QuestHelper
|
|||||||
prod.areaType === Number.parseInt(craftUnlockReward.traderId)
|
prod.areaType === Number.parseInt(craftUnlockReward.traderId)
|
||||||
&& prod.requirements.some((requirement) => requirement.questId === questDetails._id)
|
&& prod.requirements.some((requirement) => requirement.questId === questDetails._id)
|
||||||
&& prod.requirements.some((x) => x.requiredLevel === craftUnlockReward.loyaltyLevel)
|
&& prod.requirements.some((x) => x.requiredLevel === craftUnlockReward.loyaltyLevel)
|
||||||
&& prod.endProduct === craftUnlockReward.items[0]._tpl
|
&& prod.endProduct === craftUnlockReward.items[0]._tpl);
|
||||||
&& prod.count === (craftUnlockReward.items[0].upd?.StackObjectsCount ?? 1),
|
|
||||||
);
|
|
||||||
|
|
||||||
// More/less than 1 match, above filtering wasn't strict enough
|
// More/less than 1 match, above filtering wasn't strict enough
|
||||||
if (matchingProductions.length !== 1)
|
if (matchingProductions.length !== 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user