mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 02:42:22 +01:00
Fixed Mini Reward Llama not opening on 7.30+
This commit is contained in:
13
index.js
13
index.js
@@ -5407,6 +5407,18 @@ express.post("/fortnite/api/game/v2/profile/*/client/PurchaseCatalogEntry", asyn
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if (value.templateId.toLowerCase() == "cardpack:cardpack_basic") {
|
||||||
|
Notifications[0].lootResult.items.push({
|
||||||
|
"itemType": value.templateId,
|
||||||
|
"itemGuid": ID,
|
||||||
|
"itemProfile": "campaign",
|
||||||
|
"attributes": {
|
||||||
|
"pack_source": "Store"
|
||||||
|
},
|
||||||
|
"quantity": 1
|
||||||
|
})
|
||||||
|
}
|
||||||
|
else {
|
||||||
for (var i = 0; i < 10; i++) {
|
for (var i = 0; i < 10; i++) {
|
||||||
const randomNumber = Math.floor(Math.random() * ItemIDS.length);
|
const randomNumber = Math.floor(Math.random() * ItemIDS.length);
|
||||||
const id = makeid();
|
const id = makeid();
|
||||||
@@ -5462,6 +5474,7 @@ express.post("/fortnite/api/game/v2/profile/*/client/PurchaseCatalogEntry", asyn
|
|||||||
"itemId": ID
|
"itemId": ID
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (true) {
|
if (true) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user