Fix Apply Look not working with Unlock All Skins turned on
Gives the skins IDs so the game doesn't give empty customization slots.
This commit is contained in:
parent
07c2fbcadf
commit
9c621ee532
@ -105,10 +105,12 @@ const inventoryController: RequestHandler = async (request, response) => {
|
||||
|
||||
if (config.unlockAllSkins) {
|
||||
inventoryResponse.WeaponSkins = [];
|
||||
let i = 0;
|
||||
for (const uniqueName in ExportCustoms) {
|
||||
i++;
|
||||
inventoryResponse.WeaponSkins.push({
|
||||
ItemId: {
|
||||
$oid: "000000000000000000000000"
|
||||
$oid: (i).toString().padStart(24, '0')
|
||||
},
|
||||
ItemType: uniqueName
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user