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: ignore kubrow egg item type acquired from missions (#3683)

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

111cd59c
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -2
Modified src/services/missionInventoryUpdateService.ts +2 -2
@@ -626,9 +626,9 @@ export const addMissionInventoryUpdates = async (
626 626 break;
627 627 }
628 628 case "KubrowPetEggs": {
629 for (const egg of value) {
629 for (let i = 0; i != value.length; ++i) {
630 630 inventory.KubrowPetEggs.push({
631 ItemType: egg.ItemType,
631 ItemType: "/Lotus/Types/Game/KubrowPet/Eggs/KubrowEgg",
632 632 _id: new Types.ObjectId()
633 633 });
634 634 }