chore: missionReward.items are already StoreItems, simplify this
This commit is contained in:
parent
a27f1c5e01
commit
80df6ff20e
@ -351,7 +351,7 @@ export const addFixedLevelRewards = (
|
|||||||
if (rewards.items) {
|
if (rewards.items) {
|
||||||
for (const item of rewards.items) {
|
for (const item of rewards.items) {
|
||||||
MissionRewards.push({
|
MissionRewards.push({
|
||||||
StoreItem: item.includes(`/StoreItems/`) ? item : `/Lotus/StoreItems${item.substring("Lotus/".length)}`,
|
StoreItem: item,
|
||||||
ItemCount: 1
|
ItemCount: 1
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user