diff --git a/Dalamud/Interface/DalamudInterface.cs b/Dalamud/Interface/DalamudInterface.cs index 96504ae33..d0c7ebccb 100644 --- a/Dalamud/Interface/DalamudInterface.cs +++ b/Dalamud/Interface/DalamudInterface.cs @@ -239,7 +239,7 @@ namespace Dalamud.Interface } ImGui.Separator(); - ImGui.MenuItem("API Level:" + PluginManager.DALAMUD_API_LEVEL, false); + ImGui.MenuItem("API Level:" + PluginManager.DalamudApiLevel, false); ImGui.MenuItem("Loaded plugins:" + this.dalamud.PluginManager?.Plugins.Count, false); ImGui.EndMenu(); } diff --git a/Dalamud/Plugin/PluginDefinition.cs b/Dalamud/Plugin/PluginDefinition.cs index c621be5ca..088688811 100644 --- a/Dalamud/Plugin/PluginDefinition.cs +++ b/Dalamud/Plugin/PluginDefinition.cs @@ -67,7 +67,7 @@ namespace Dalamud.Plugin public bool IsHide { get; set; } /// - /// Gets or sets the API level of this plugin. For the current API level, please see for the currently used API level. + /// Gets or sets the API level of this plugin. For the current API level, please see for the currently used API level. /// public int DalamudApiLevel { get; set; } diff --git a/Dalamud/Plugin/PluginInstallerWindow.cs b/Dalamud/Plugin/PluginInstallerWindow.cs index b270e4a43..6d6e36028 100644 --- a/Dalamud/Plugin/PluginInstallerWindow.cs +++ b/Dalamud/Plugin/PluginInstallerWindow.cs @@ -359,7 +359,7 @@ namespace Dalamud.Plugin if (pluginDefinition.IsHide) continue; - if (pluginDefinition.DalamudApiLevel < PluginManager.DALAMUD_API_LEVEL) + if (pluginDefinition.DalamudApiLevel < PluginManager.DalamudApiLevel) continue; if (this.dalamud.Configuration.HiddenPluginInternalName.Contains(pluginDefinition.InternalName)) diff --git a/Dalamud/Plugin/PluginRepository.cs b/Dalamud/Plugin/PluginRepository.cs index 56a3bc4ad..4e72db768 100644 --- a/Dalamud/Plugin/PluginRepository.cs +++ b/Dalamud/Plugin/PluginRepository.cs @@ -225,7 +225,7 @@ namespace Dalamud.Plugin continue; } - if (remoteInfo.DalamudApiLevel < PluginManager.DALAMUD_API_LEVEL) { + if (remoteInfo.DalamudApiLevel < PluginManager.DalamudApiLevel) { Log.Information("Has not applicable API level: {0}", info.Name); continue; }