Found more words that were wrong

If I find more I am going to scream
This commit is contained in:
Toastie (DCS Team) 2024-07-08 01:30:14 +12:00
parent 94129fb3e2
commit e100526d80
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
2 changed files with 3 additions and 3 deletions

View file

@ -110,7 +110,7 @@ public sealed class Bot : IBot
var svcs = new Container(); var svcs = new Container();
// this is required in order for medusa unloading to work // this is required in order for marmalade unloading to work
// svcs.Components.Remove<IPlanner, Planner>(); // svcs.Components.Remove<IPlanner, Planner>();
// svcs.Components.Add<IPlanner, RemovablePlanner>(); // svcs.Components.Add<IPlanner, RemovablePlanner>();

View file

@ -19,11 +19,11 @@ public class FilterAdapter : PreconditionAttribute
CommandInfo command, CommandInfo command,
IServiceProvider services) IServiceProvider services)
{ {
var medusaContext = ContextAdapterFactory.CreateNew(context, var marmaladeContext = ContextAdapterFactory.CreateNew(context,
_strings, _strings,
services); services);
var result = await _filterAttribute.CheckAsync(medusaContext); var result = await _filterAttribute.CheckAsync(marmaladeContext);
if (!result) if (!result)
return PreconditionResult.FromError($"Precondition '{_filterAttribute.GetType().Name}' failed."); return PreconditionResult.FromError($"Precondition '{_filterAttribute.GetType().Name}' failed.");