forked from OpenWF/SpaceNinjaServer
Update inventoryController.ts
This commit is contained in:
parent
ddf5468bff
commit
e39291b077
@ -332,6 +332,7 @@ export const getInventoryResponse = async (
|
|||||||
inventoryResponse.FlavourItems.push({ ItemType: uniqueName });
|
inventoryResponse.FlavourItems.push({ ItemType: uniqueName });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (config.unlockAllSkins) {
|
if (config.unlockAllSkins) {
|
||||||
const ownedWeaponSkins = new Set<string>(inventoryResponse.WeaponSkins.map(x => x.ItemType));
|
const ownedWeaponSkins = new Set<string>(inventoryResponse.WeaponSkins.map(x => x.ItemType));
|
||||||
@ -346,7 +347,6 @@ export const getInventoryResponse = async (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (typeof config.spoofMasteryRank === "number" && config.spoofMasteryRank >= 0) {
|
if (typeof config.spoofMasteryRank === "number" && config.spoofMasteryRank >= 0) {
|
||||||
inventoryResponse.PlayerLevel = config.spoofMasteryRank;
|
inventoryResponse.PlayerLevel = config.spoofMasteryRank;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user