返回提交历史
Modified
src/controllers/api/fishmongerController.ts
+1
-1
XFEstudio/XFESpaceNinjaServer
fix: don't dereference a null object when cutting fish (#3269)
Closes #3267 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3269 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
173e1be0
代码差异
1 个文件
+1
-1
@@ -39,7 +39,7 @@ export const fishmongerController: RequestHandler = async (req, res) => {
39
39
MiscItems: miscItemChanges
40
40
},
41
41
SyndicateTag: syndicateTag,
42
StandingChange: affiliationMods[0].Standing
42
StandingChange: affiliationMods[0]?.Standing ?? 0
43
43
});
44
44
};
45
45