diff --git a/Dalamud/Console/ConsoleManager.cs b/Dalamud/Console/ConsoleManager.cs index 17997cc59..a38a9babf 100644 --- a/Dalamud/Console/ConsoleManager.cs +++ b/Dalamud/Console/ConsoleManager.cs @@ -118,6 +118,9 @@ internal partial class ConsoleManager : IServiceType public void RemoveEntry(IConsoleEntry entry) { ArgumentNullException.ThrowIfNull(entry); + + if (!this.entries.Remove(entry.Name)) + throw new EntryNotFoundException(entry.Name); } ///