diff --git a/Dalamud/Game/Gui/GameGui.cs b/Dalamud/Game/Gui/GameGui.cs index 18f59c75a..301f7a634 100644 --- a/Dalamud/Game/Gui/GameGui.cs +++ b/Dalamud/Game/Gui/GameGui.cs @@ -323,7 +323,7 @@ public sealed unsafe class GameGui : IDisposable, IServiceType /// Name of addon to find. /// Index of addon to find (1-indexed). /// IntPtr.Zero if unable to find UI, otherwise IntPtr pointing to the start of the addon. - public unsafe IntPtr GetAddonByName(string name, int index) + public unsafe IntPtr GetAddonByName(string name, int index = 1) { var atkStage = FFXIVClientStructs.FFXIV.Component.GUI.AtkStage.GetSingleton(); if (atkStage == null)