mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 10:52:23 +01:00
Update mcp.js
This commit is contained in:
@@ -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;
|
||||||
@@ -5448,4 +5450,4 @@ express.post("/fortnite/api/game/v2/profile/*/client/*", async (req, res) => {
|
|||||||
res.end();
|
res.end();
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = express;
|
module.exports = express;
|
||||||
|
|||||||
Reference in New Issue
Block a user