降低perk读取警告等级

This commit is contained in:
17146 2025-05-07 17:46:28 +08:00 committed by Light_Quanta
parent 1641592eef
commit a55f599529
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959

View file

@ -483,14 +483,14 @@ public class GunData {
if (index != -1) {
availablePerks.remove(perkValues.get(index));
} else {
Mod.LOGGER.warn("Perk {} not found", n);
Mod.LOGGER.info("Perk {} not found", n);
}
} else {
var index = perkKeys.indexOf(name);
if (index != -1) {
availablePerks.add(perkValues.get(index));
} else {
Mod.LOGGER.warn("Perk {} not found", name);
Mod.LOGGER.info("Perk {} not found", name);
}
}
}