diff --git a/Dalamud/Dalamud.csproj b/Dalamud/Dalamud.csproj index d3fcce1ee..2276f47e5 100644 --- a/Dalamud/Dalamud.csproj +++ b/Dalamud/Dalamud.csproj @@ -1,4 +1,4 @@ - + AnyCPU net472 @@ -31,15 +31,13 @@ false - - - + - - + + @@ -71,4 +69,10 @@ + + + PreserveNewest + Lumina.Generated.dll + + diff --git a/Dalamud/Game/Chat/SeStringHandling/SeStringManager.cs b/Dalamud/Game/Chat/SeStringHandling/SeStringManager.cs index 78667d574..9cfae6c1d 100644 --- a/Dalamud/Game/Chat/SeStringHandling/SeStringManager.cs +++ b/Dalamud/Game/Chat/SeStringHandling/SeStringManager.cs @@ -142,7 +142,7 @@ namespace Dalamud.Game.Chat.SeStringHandling var mapSheet = this.data.GetExcelSheet(); var matches = this.data.GetExcelSheet().GetRows() - .Where(row => row.Name.ToLowerInvariant() == placeName.ToLowerInvariant()) + .Where(row => row.Name.ToString().ToLowerInvariant() == placeName.ToLowerInvariant()) .ToArray(); foreach (var place in matches) diff --git a/Dalamud/Game/Network/NetworkHandlers.cs b/Dalamud/Game/Network/NetworkHandlers.cs index 60fd6c574..477a20a4b 100644 --- a/Dalamud/Game/Network/NetworkHandlers.cs +++ b/Dalamud/Game/Network/NetworkHandlers.cs @@ -60,8 +60,9 @@ namespace Dalamud.Game.Network { return; } + var cfcName = contentFinderCondition.Name.ToString(); if (string.IsNullOrEmpty(contentFinderCondition.Name)) { - contentFinderCondition.Name = "Duty Roulette"; + cfcName = "Duty Roulette"; contentFinderCondition.Image = 112324; } @@ -80,7 +81,7 @@ namespace Dalamud.Game.Network { Task.Run(async () => { if(this.dalamud.Configuration.DutyFinderChatMessage) - this.dalamud.Framework.Gui.Chat.Print("Duty pop: " + contentFinderCondition.Name); + this.dalamud.Framework.Gui.Chat.Print("Duty pop: " + cfcName); await this.ProcessCfPop?.Invoke(contentFinderCondition); }); diff --git a/Dalamud/Resources/Lumina.Generated.dll b/Dalamud/Resources/Lumina.Generated.dll new file mode 100644 index 000000000..301694057 Binary files /dev/null and b/Dalamud/Resources/Lumina.Generated.dll differ