We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a8d728 commit d987d77Copy full SHA for d987d77
Mappy/Controllers/IntegrationsController.cs
@@ -189,14 +189,8 @@ public static bool ShouldShowMap() {
189
return true;
190
}
191
192
- private static bool IsNamePlateAddonVisible() {
193
- var addonNamePlate = (AddonNamePlate*) Service.GameGui.GetAddonByName("NamePlate");
194
-
195
- if (addonNamePlate is null) return false;
196
- if (!addonNamePlate->IsReady) return false;
197
198
- return true;
199
- }
+ private static bool IsNamePlateAddonVisible()
+ => !RaptureAtkUnitManager.Instance()->UiFlags.HasFlag(UIModule.UiFlags.Nameplates);
200
201
private uint? GetMapIdForQuest(OpenMapInfo* mapInfo) {
202
foreach (var leveQuest in QuestManager.Instance()->LeveQuests) {
0 commit comments