feat: belly of the beast / eight claw #2621

Merged
Sainan merged 5 commits from AMelonInsideLemon/SpaceNinjaServer:goal-belly-of-the-beast into main 2025-08-15 08:14:38 -07:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit c88fe122ad - Show all commits

View File

@ -721,7 +721,7 @@ export const addMissionInventoryUpdates = async (
if (goal && goal.ClanGoal && inventory.GuildId) {
const guild = await Guild.findById(inventory.GuildId, "GoalProgress Tier VaultDecoRecipes");
if (guild) {
handleGuildGoalProgress(guild, {
await handleGuildGoalProgress(guild, {
Count: uploadProgress.Count,
Tag: goal.Tag,
goalId: new Types.ObjectId(goal._id.$oid)

View File

@ -150,7 +150,7 @@ export const handlePurchase = async (
const guild = await Guild.findById(inventory.GuildId, "GoalProgress Tier VaultDecoRecipes");
const goal = getWorldState().Goals.find(x => x.Tag == "DuviriMurmurEvent");
if (guild && goal) {
handleGuildGoalProgress(guild, {
await handleGuildGoalProgress(guild, {
Count: offer.ItemPrices[0].ItemCount * purchaseRequest.PurchaseParams.Quantity,
Tag: goal.Tag,
goalId: new Types.ObjectId(goal._id.$oid)