fix: toStoreItem not converting boosters
All checks were successful
Build / build (pull_request) Successful in 1m22s
Build / build (push) Successful in 2m36s

This commit is contained in:
Sainan 2025-06-11 11:39:08 +02:00
parent 4823406229
commit f0c9fd26a8

View File

@ -233,7 +233,7 @@ export const isStoreItem = (type: string): boolean => {
};
export const toStoreItem = (type: string): string => {
if (type.startsWith("/Lotus/Types/StoreItems/Boosters/")) {
if (type.startsWith("/Lotus/Types/Boosters/")) {
const boosterEntry = Object.entries(ExportBoosters).find(arr => arr[1].typeName == type);
if (boosterEntry) {
return boosterEntry[0];