XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

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
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified src/services/itemDataService.ts +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];