From ef032f4000c610f12e3c073fcffe1e7c7601970c Mon Sep 17 00:00:00 2001 From: Lawin0129 Date: Fri, 26 Nov 2021 23:00:48 +0000 Subject: [PATCH] Add collection book slotting for 11.30+ (forgot something) --- index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.js b/index.js index 3e95781..04c0c7e 100644 --- a/index.js +++ b/index.js @@ -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];