Fix logging messages

This commit is contained in:
Chomp
2025-08-17 09:23:17 +01:00
parent ab114352ea
commit 24397b0439
2 changed files with 4 additions and 2 deletions
@@ -549,7 +549,9 @@ public class RepeatableQuestController(
if (questType is null) if (questType is null)
{ {
logger.Error("index `i` is out of range for valid quest types, this should never be hit, report it."); logger.Error(
$"Repeatable index: `{i}` is out of range for valid quest types, this should never be hit, report it."
);
continue; continue;
} }
@@ -409,7 +409,7 @@ public class RewardHelper(
return; return;
} }
logger.Warning("Unable to find default preset for armor {originalRewardRootItem._tpl}, adding mods manually"); logger.Warning($"Unable to find default preset for armor: {originalRewardRootItem.Template}, adding mods manually");
var itemDbData = itemHelper.GetItem(originalRewardRootItem.Template).Value; var itemDbData = itemHelper.GetItem(originalRewardRootItem.Template).Value;
// Hydrate reward with only 'required' mods - necessary for things like helmets otherwise you end up with nvgs/visors etc // Hydrate reward with only 'required' mods - necessary for things like helmets otherwise you end up with nvgs/visors etc