返回提交历史
Modified
src/services/itemDataService.ts
+1
-1
XFEstudio/SpaceNinjaServer
fix: toStoreItem not converting boosters (#2147)
Bug reported via #2146 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2147 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
1d813a1b
代码差异
1 个文件
+1
-1
@@ -233,7 +233,7 @@ export const isStoreItem = (type: string): boolean => {
233
233
};
234
234
235
235
export const toStoreItem = (type: string): string => {
236
if (type.startsWith("/Lotus/Types/StoreItems/Boosters/")) {
236
if (type.startsWith("/Lotus/Types/Boosters/")) {
237
237
const boosterEntry = Object.entries(ExportBoosters).find(arr => arr[1].typeName == type);
238
238
if (boosterEntry) {
239
239
return boosterEntry[0];