Fix tests, migrate Adjuster

This commit is contained in:
Matt Nadareski
2024-03-08 21:12:13 -05:00
parent 2dbe257023
commit c755abf4c0
25 changed files with 159 additions and 554 deletions

View File

@@ -248,7 +248,7 @@ namespace SabreTools.DatFiles
// Field.DatItem_Conditions does not apply here
if (adjuster.ConditionsSpecified)
{
foreach (Condition subCondition in adjuster.Conditions!)
foreach (Condition subCondition in adjuster.GetFieldValue<Condition[]?>(Models.Metadata.Adjuster.ConditionKey)!)
{
SetFields(subCondition);
}