mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Fix reading world name for PcName (#2235)
This commit is contained in:
parent
48968322c4
commit
f96e2ae37c
1 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ using FFXIVClientStructs.FFXIV.Client.UI.Agent;
|
|||
using FFXIVClientStructs.FFXIV.Client.UI.Info;
|
||||
using FFXIVClientStructs.FFXIV.Client.UI.Misc;
|
||||
using FFXIVClientStructs.FFXIV.Component.Text;
|
||||
using FFXIVClientStructs.Interop;
|
||||
|
||||
using Lumina.Data.Structs.Excel;
|
||||
using Lumina.Excel;
|
||||
|
|
@ -445,7 +446,7 @@ internal class SeStringEvaluator : IServiceType, ISeStringEvaluator
|
|||
|
||||
if (this.gameConfig.UiConfig.TryGetUInt("LogCrossWorldName", out var logCrossWorldName) &&
|
||||
logCrossWorldName == 1)
|
||||
context.Builder.Append((ReadOnlySeStringSpan)world.Name);
|
||||
context.Builder.Append(new ReadOnlySeStringSpan(world.Name.GetPointer(0)));
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue