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

chore: use debug level to indicate quest completion rewards source (#3086)

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

8f2a5840
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -1
Modified src/services/questService.ts +2 -1
@@ -223,9 +223,10 @@ export const completeQuest = async (
223 223
224 224 const getQuestCompletionItems = (questKey: string): ITypeCount[] | undefined => {
225 225 if (questKey in questCompletionItems) {
226 logger.debug(`using questCompletionItems for ${questKey}`);
226 227 return questCompletionItems[questKey as keyof typeof questCompletionItems];
227 228 }
228 logger.warn(`Quest ${questKey} not found in questCompletionItems`);
229 logger.debug(`using PE+ reward data for ${questKey}`);
229 230
230 231 const items: ITypeCount[] = [];
231 232 const meta = ExportKeys[questKey];