1.7.2.0
All checks were successful
Build and Update Repo / build-and-update-repo (push) Successful in 1m0s

Fix for sure for real
This commit is contained in:
2026-05-02 19:32:40 +01:00
parent 612cf6d3a4
commit f90a521bec
9 changed files with 9 additions and 5 deletions

View File

@@ -267,7 +267,7 @@ public sealed partial class CharaDataManager : DisposableMediatorSubscriberBase
var obj = await _dalamudUtilService.GetGposeTargetGameObjectAsync().ConfigureAwait(false);
string targetName = string.Empty;
bool canApply = _dalamudUtilService.IsInGpose && obj != null
&& obj.ObjectKind == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.Player;
&& obj.ObjectKind == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.Pc;
if (canApply)
{
targetName = obj!.Name.TextValue;