fix: converting storeitems #1017

Merged
OrdisPrime merged 2 commits from :main into main 2025-02-25 10:08:30 -08:00
Showing only changes of commit 7a2c187d54 - Show all commits

View File

@ -359,7 +359,9 @@ 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/`) ? item.ItemType : `/Lotus/StoreItems${item.ItemType.substring("Lotus/".length)}`, StoreItem: item.ItemType.includes(`/StoreItems/`)
? item.ItemType
: `/Lotus/StoreItems${item.ItemType.substring("Lotus/".length)}`,
ItemCount: item.ItemCount ItemCount: item.ItemCount
}); });
} }