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: unable to purchase arcanes

cbdd1cd0
Sainan <sainan@calamity.inc>
提交于

代码差异

1 个文件 +2 -1
Modified src/services/inventoryService.ts +2 -1
@@ -32,6 +32,7 @@ import { getRandomWeightedReward } from "@/src/services/rngService";
32 32 import { ISyndicateSacrifice, ISyndicateSacrificeResponse } from "../types/syndicateTypes";
33 33 import { IEquipmentClient } from "../types/inventoryTypes/commonInventoryTypes";
34 34 import {
35 ExportArcanes,
35 36 ExportBoosterPacks,
36 37 ExportCustoms,
37 38 ExportFlavour,
@@ -171,7 +172,7 @@ export const addItem = async (
171 172 }
172 173 return { InventoryChanges };
173 174 }
174 if (typeName in ExportUpgrades) {
175 if (typeName in ExportUpgrades || typeName in ExportArcanes) {
175 176 const inventory = await getInventory(accountId);
176 177 const changes = [
177 178 {