Update mcp.js

This commit is contained in:
Lawin0129
2022-02-16 01:46:52 +00:00
committed by GitHub
parent b98634a0a4
commit bc9ccd4867

View File

@@ -964,12 +964,14 @@ express.post("/fortnite/api/game/v2/profile/*/client/RefundMtxPurchase", async (
} }
for (var i in ItemGuids) { for (var i in ItemGuids) {
delete ItemProfile.items[ItemGuids[i]] try {
delete ItemProfile.items[ItemGuids[i]]
MultiUpdate[0].profileChanges.push({ MultiUpdate[0].profileChanges.push({
"changeType": "itemRemoved", "changeType": "itemRemoved",
"itemId": ItemGuids[i] "itemId": ItemGuids[i]
}) })
} catch (err) {}
} }
ItemProfile.rvn += 1; ItemProfile.rvn += 1;