fix not using icon set from tag

This commit is contained in:
2022-11-15 20:00:02 +01:00
parent 3849644e04
commit 2fa6d6b94f

View File

@@ -242,7 +242,7 @@ namespace PlayerTags.Features
AddPayloadChanges(tag.TagTargetInNameplates.InheritedValue.Value, tag.TagPositionInNameplates.InheritedValue.Value, payloads, nameplateChanges, false);
}
if (newStatusIcon == null && classJob != null && (tag.IsJobIconVisibleInNameplates?.InheritedValue ?? false))
newStatusIcon = jobIconSets.GetJobIcon(JobIconSetName.Framed, classJob.Id);
newStatusIcon = jobIconSets.GetJobIcon(tag.JobIconSet?.InheritedValue ?? JobIconSetName.Framed, classJob.Id);
}
}