solution people with internet by pidgeon

This commit is contained in:
rootdarkarchon
2023-04-22 22:12:32 +02:00
parent fe49842a9e
commit 170ab12155
2 changed files with 2 additions and 2 deletions

View File

@@ -308,7 +308,7 @@ public sealed class IpcManager : DisposableMediatorSubscriberBase
{
if (!CheckHonorificApi()) return string.Empty;
(string? title, bool isPrefix) = _honorificGetLocalCharacterTitle.InvokeFunc();
return $"{(isPrefix ? 1 : 0)}{title}";
return string.IsNullOrEmpty(title) ? string.Empty : $"{(isPrefix ? 1 : 0)}{title}";
}
public async Task HonorificSetTitle(IntPtr character, string honorificData)