Fix logging messages
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user