API12 / .NET 9

This commit is contained in:
Loporrit
2025-03-27 04:13:49 +00:00
parent 46053bf8fa
commit 063eb5082a
5 changed files with 15 additions and 59 deletions

View File

@@ -76,7 +76,7 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
UiColors = new(() =>
{
return gameData.GetExcelSheet<Lumina.Excel.Sheets.UIColor>(Dalamud.Game.ClientLanguage.English)!
.Where(x => x.RowId != 0 && !(x.RowId >= 500 && (x.UIForeground & 0xFFFFFF00) == 0))
.Where(x => x.RowId != 0 && !(x.RowId >= 500 && (x.Dark & 0xFFFFFF00) == 0))
.ToDictionary(x => (int)x.RowId);
});
mediator.Subscribe<TargetPairMessage>(this, (msg) =>