From e5fd8bf3d5f76c3190cadfe7ddd68eb9417cefcc Mon Sep 17 00:00:00 2001 From: goaaats Date: Thu, 14 Apr 2022 02:00:08 +0200 Subject: [PATCH] chore: enable ContextMenu by default --- Dalamud/Game/Gui/GameGui.cs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Dalamud/Game/Gui/GameGui.cs b/Dalamud/Game/Gui/GameGui.cs index 10960677c..1aec4d3b1 100644 --- a/Dalamud/Game/Gui/GameGui.cs +++ b/Dalamud/Game/Gui/GameGui.cs @@ -419,7 +419,7 @@ namespace Dalamud.Game.Gui { var agent = &agentModule->AgentArray[i]; - if (agent->GetAddonID() == id) + if (agent->AddonId == id) return new IntPtr(agent); } @@ -441,14 +441,7 @@ namespace Dalamud.Game.Gui Service.Get().Enable(); Service.Get().Enable(); Service.Get().Enable(); - - // TODO(goat): Remove when stable - var config = Service.Get(); - if (config.DalamudBetaKey == DalamudConfiguration.DalamudCurrentBetaKey) - { - Log.Warning("TAKE CARE!!! You are using Dalamud Testing, so the new context menu feature is enabled.\nThis may cause crashes with unupdated plugins."); - Service.Get().Enable(); - } + Service.Get().Enable(); this.setGlobalBgmHook.Enable(); this.handleItemHoverHook.Enable();