1.12.2 #52

Merged
defnotken merged 47 commits from 1.12.2 into master 2025-10-12 13:33:02 +00:00
Showing only changes of commit ffbeeba929 - Show all commits

View File

@@ -221,6 +221,9 @@ public unsafe class NameplateHandler : IMediatorSubscriber
if (pNode == null)
continue;
if (mpNameplateAddon == null)
continue;
var cid = DalamudUtilService.GetHashedCIDFromPlayerPointer((nint)objectInfo->GameObject);
if (cid == null || !_activeBroadcastingCids.Contains(cid))
@@ -250,6 +253,14 @@ public unsafe class NameplateHandler : IMediatorSubscriber
bool IsVisible = pNameplateIconNode->AtkResNode.IsVisible() || (pNameplateResNode->IsVisible() && pNameplateTextNode->AtkResNode.IsVisible()) || _configService.Current.LightfinderLabelShowHidden;
pNode->AtkResNode.ToggleVisibility(IsVisible);
if (nameplateObject.RootComponentNode == null ||
nameplateObject.NameContainer == null ||
nameplateObject.NameText == null)
{
pNode->AtkResNode.ToggleVisibility(false);
continue;
}
var nameContainer = nameplateObject.NameContainer;
var nameText = nameplateObject.NameText;