fix: don't add raw riven mods with fingerprints
All checks were successful
Build / build (pull_request) Successful in 1m56s

This commit is contained in:
Sainan 2025-11-02 14:29:30 +01:00
parent 8bce83d14c
commit e579e8b647

View File

@ -473,7 +473,9 @@ export const addItem = async (
return addCustomization(inventory, typeName);
}
if (typeName in ExportUpgrades || typeName in ExportArcanes) {
if (targetFingerprint) {
if (targetFingerprint && typeName.startsWith("/Lotus/Upgrades/Mods/Randomized/Raw")) {
logger.debug(`ignoring fingerprint for raw riven mod`);
} else if (targetFingerprint) {
if (quantity != 1) {
logger.warn(`adding 1 of ${typeName} ${targetFingerprint} even tho quantity ${quantity} was requested`);
}