Skip to content
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
fr34kyn01535 committed Apr 15, 2018
1 parent 09bbfa4 commit 9a75cbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rocket.Core/Properties/DependencyRegistrator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public void Register(IDependencyContainer container, IDependencyResolver resolve
container.RegisterSingletonType<ICommandHandler, CommandHandler>();
container.RegisterSingletonType<IPluginManager, PluginManager>();
container.RegisterSingletonType<ICommandProvider, PluginManager>();
container.RegisterType<ITranslationLocator, TranslationLocator>("defaultranslations");
container.RegisterSingletonType<IPermissionProvider, PermissionProvider>("defaultpermissions");
container.RegisterType<ITranslationLocator, TranslationLocator>();
container.RegisterSingletonType<IPermissionProvider, PermissionProvider>();

if (!container.IsRegistered<IConfiguration>())
container.RegisterType<IConfiguration, JsonConfiguration>();
Expand Down

0 comments on commit 9a75cbe

Please sign in to comment.