forked from OpenWF/SpaceNinjaServer
Update saveLoadoutService.ts
This commit is contained in:
parent
a9f994ea4c
commit
35971b914c
@ -139,6 +139,11 @@ export const handleInventoryItemConfigChange = async (
|
||||
case "WeaponSkins": {
|
||||
const itemEntries = equipment as IItemEntry;
|
||||
for (const [itemId, itemConfigEntries] of Object.entries(itemEntries)) {
|
||||
if (itemId.startsWith("ca70ca70ca70ca70")) {
|
||||
logger.warn(
|
||||
`unlockAllSkins does not work with favoriting items because you don't actually own it`
|
||||
);
|
||||
} else {
|
||||
const inventoryItem = inventory.WeaponSkins.id(itemId);
|
||||
if (!inventoryItem) {
|
||||
logger.warn(`inventory item WeaponSkins not found with id ${itemId}`);
|
||||
@ -151,6 +156,7 @@ export const handleInventoryItemConfigChange = async (
|
||||
inventoryItem.IsNew = itemConfigEntries.IsNew;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "LotusCustomization": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user