diff --git a/Dalamud/Interface/Internal/PluginCategoryManager.cs b/Dalamud/Interface/Internal/PluginCategoryManager.cs index 5cc5135d3..d1c7fdc50 100644 --- a/Dalamud/Interface/Internal/PluginCategoryManager.cs +++ b/Dalamud/Interface/Internal/PluginCategoryManager.cs @@ -99,7 +99,7 @@ namespace Dalamud.Interface.Internal } /// - /// Gets or sets current category. + /// Gets or sets current category, index in current Group.Categories array. /// public int CurrentCategoryIdx { @@ -127,7 +127,7 @@ namespace Dalamud.Interface.Internal (this.currentGroupIdx >= 0) && (this.currentGroupIdx < this.groupList.Length) && (this.currentCategoryIdx >= 0) && - (this.currentCategoryIdx < this.categoryList.Length); + (this.currentCategoryIdx < this.groupList[this.currentGroupIdx].Categories.Count); /// /// Rebuild available categories based on currently available plugins.