diff --git a/ARControl/ARControl.csproj b/ARControl/ARControl.csproj index 688b18b..f86814f 100644 --- a/ARControl/ARControl.csproj +++ b/ARControl/ARControl.csproj @@ -1,6 +1,6 @@ - 5.5 + 5.6 dist diff --git a/ARControl/Windows/Config/RetainersTab.cs b/ARControl/Windows/Config/RetainersTab.cs index 015c0c0..5040566 100644 --- a/ARControl/Windows/Config/RetainersTab.cs +++ b/ARControl/Windows/Config/RetainersTab.cs @@ -175,9 +175,9 @@ internal sealed class RetainersTab : ITab .OrderBy(x => x.DisplayOrder) .ThenBy(x => x.RetainerContentId)) { - ImGui.BeginDisabled(retainer.Level < ConfigWindow.MinLevel); + ImGui.BeginDisabled(retainer is { Managed: false, Level: < ConfigWindow.MinLevel }); - bool managed = retainer is { Managed: true, Level: >= ConfigWindow.MinLevel }; + bool managed = retainer.Managed; IDalamudTextureWrap? icon = _iconCache.GetIcon(62000 + retainer.Job); if (icon != null)