dunno what's wrong with pets (fuck pets, not literally)

This commit is contained in:
Stanley Dimant
2025-02-10 21:43:34 +01:00
parent 79f5065128
commit 61b6365542
3 changed files with 85 additions and 75 deletions

View File

@@ -77,10 +77,10 @@ public sealed class IpcCallerHonorific : IIpcCaller
}).ConfigureAwait(false);
}
public string GetTitle()
public async Task<string> GetTitle()
{
if (!APIAvailable) return string.Empty;
string title = _honorificGetLocalCharacterTitle.InvokeFunc();
string title = await _dalamudUtil.RunOnFrameworkThread(() => _honorificGetLocalCharacterTitle.InvokeFunc()).ConfigureAwait(false);
return string.IsNullOrEmpty(title) ? string.Empty : Convert.ToBase64String(Encoding.UTF8.GetBytes(title));
}