diff --git a/Dalamud/Interface/Windowing/WindowSystem.cs b/Dalamud/Interface/Windowing/WindowSystem.cs index 21c94d2d4..6a9f06589 100644 --- a/Dalamud/Interface/Windowing/WindowSystem.cs +++ b/Dalamud/Interface/Windowing/WindowSystem.cs @@ -92,10 +92,10 @@ namespace Dalamud.Interface.Windowing public Window? GetWindow(string windowName) => this.windows.FirstOrDefault(w => w.WindowName == windowName); /// - /// Returns an array of all currently registered windows. + /// Returns a read only list of all currently registered windows. /// /// Returns window collection as a array. - public Window[] GetWindows() => this.windows.ToArray(); + public IReadOnlyList GetWindows() => this.windows; /// /// Draw all registered windows using ImGui.