relieve gc pressure maybe

This commit is contained in:
rootdarkarchon
2024-02-10 14:21:48 +01:00
committed by Loporrit
parent 4c5b19f8c5
commit 40b8310ba9
5 changed files with 85 additions and 68 deletions

View File

@@ -459,7 +459,7 @@ public sealed class PairHandler : DisposableMediatorSubscriberBase
if (string.IsNullOrEmpty(PlayerName))
{
var pc = _dalamudUtil.FindPlayerByNameHash(OnlineUser.Ident);
if (pc == default((string, nint))) return;
if (pc.ObjectId == 0) return;
Logger.LogDebug("One-Time Initializing {this}", this);
Initialize(pc.Name);
Logger.LogDebug("One-Time Initialized {this}", this);