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

XFESpaceNinjaServer

A simple server for a small space ninja game

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

XFEstudio/XFESpaceNinjaServer

fix: don't say "error" just because a loadout category is unimplemented (#692)

69734ea1
Sainan <sainan@calamity.inc>
提交于

代码差异

1 个文件 +3 -1
Modified src/services/saveLoadoutService.ts +3 -1
@@ -178,7 +178,9 @@ export const handleInventoryItemConfigChange = async (
178 178 break;
179 179 }
180 180 default: {
181 logger.error(`category not implemented: ${equipmentName}`, { config: equipment });
181 logger.warn(`loadout category not implemented, changes may be lost: ${equipmentName}`, {
182 config: equipment
183 });
182 184 }
183 185 //case "KahlLoadOuts": not sure yet how to handle kahl: it is not sent in inventory
184 186 }