Add collection book slotting for 11.30+ (forgot something)

This commit is contained in:
Lawin0129
2021-11-26 23:00:48 +00:00
parent 2a39cec372
commit ef032f4000

View File

@@ -3621,6 +3621,12 @@ express.post("/fortnite/api/game/v2/profile/*/client/RecycleItemBatch", async (r
MultiUpdate[0].profileRevision = collection_book_profile.rvn;
MultiUpdate[0].profileCommandRevision = collection_book_profile.commandRevision;
fs.writeFileSync(`./profiles/${collection_book_profile.profileId || "collection_book_people0"}.json`, JSON.stringify(collection_book_profile, null, 2), function(err) {
if (err) {
console.log('error:', err)
};
});
} else {
delete profile.items[id];