chore: missionReward.countedItems are never StoreItems, simplify this
All checks were successful
Build / build (18) (push) Successful in 37s
Build / build (22) (push) Successful in 33s
Build / build (20) (pull_request) Successful in 1m9s
Build / build (20) (push) Successful in 1m8s
Build / build (18) (pull_request) Successful in 1m4s
Build / build (22) (pull_request) Successful in 33s
All checks were successful
Build / build (18) (push) Successful in 37s
Build / build (22) (push) Successful in 33s
Build / build (20) (pull_request) Successful in 1m9s
Build / build (20) (push) Successful in 1m8s
Build / build (18) (pull_request) Successful in 1m4s
Build / build (22) (pull_request) Successful in 33s
This commit is contained in:
parent
80df6ff20e
commit
33545acc0d
@ -359,9 +359,7 @@ export const addFixedLevelRewards = (
|
|||||||
if (rewards.countedItems) {
|
if (rewards.countedItems) {
|
||||||
for (const item of rewards.countedItems) {
|
for (const item of rewards.countedItems) {
|
||||||
MissionRewards.push({
|
MissionRewards.push({
|
||||||
StoreItem: item.ItemType.includes(`/StoreItems/`)
|
StoreItem: `/Lotus/StoreItems${item.ItemType.substring("Lotus/".length)}`,
|
||||||
? item.ItemType
|
|
||||||
: `/Lotus/StoreItems${item.ItemType.substring("Lotus/".length)}`,
|
|
||||||
ItemCount: item.ItemCount
|
ItemCount: item.ItemCount
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user