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: dojo key blueprint not immediately showing up when creating clan

9de0aee6
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +11 -1
Modified src/controllers/api/createGuildController.ts +11 -1
@@ -28,7 +28,17 @@ export const createGuildController: RequestHandler = async (req, res) => {
28 28
29 29 await updateInventoryForConfirmedGuildJoin(accountId, guild._id);
30 30
31 res.json(await getGuildClient(guild, accountId));
31 res.json({
32 ...(await getGuildClient(guild, accountId)),
33 InventoryChanges: {
34 Recipes: [
35 {
36 ItemType: "/Lotus/Types/Keys/DojoKeyBlueprint",
37 ItemCount: 1
38 }
39 ]
40 }
41 });
32 42 };
33 43
34 44 interface ICreateGuildRequest {