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: swapped operands (#2115)

Closes #2113 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2115 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

01492f4f
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified src/controllers/api/nemesisController.ts +1 -1
@@ -174,7 +174,7 @@ export const nemesisController: RequestHandler = async (req, res) => {
174 174 body.target.fp = BigInt(body.target.fp);
175 175
176 176 const manifest = getNemesisManifest(body.target.manifest);
177 if (account.BuildLabel && version_compare(manifest.minBuild, account.BuildLabel) < 0) {
177 if (account.BuildLabel && version_compare(account.BuildLabel, manifest.minBuild) < 0) {
178 178 logger.warn(
179 179 `client on version ${account.BuildLabel} provided nemesis manifest ${body.target.manifest} which was expected to require ${manifest.minBuild} or above. please file a bug report.`
180 180 );