mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 19:02:22 +01:00
Add collection book slotting for 11.30+ (forgot something)
This commit is contained in:
6
index.js
6
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].profileRevision = collection_book_profile.rvn;
|
||||||
MultiUpdate[0].profileCommandRevision = collection_book_profile.commandRevision;
|
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 {
|
} else {
|
||||||
delete profile.items[id];
|
delete profile.items[id];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user