rl-client: fix configs again

This commit is contained in:
TheRealNull
2020-12-26 21:15:29 -05:00
parent 53fe72452a
commit 6211605432

View File

@@ -204,7 +204,7 @@ public class PluginManager
Module pluginModule = (Binder binder) ->
{
// Since the plugin itself is a module, it won't bind itself, so we'll bind it here
binder.bind(com.openosrs.client.plugins.Plugin.class).toInstance((com.openosrs.client.plugins.Plugin)pl);
binder.bind((Class<Plugin>) pl.getClass()).toInstance(pl);
binder.install(pl);
};
Injector pluginInjector = RuneLite.getInjector().createChildInjector(pluginModule);