runelite-client: fix plugin manager test
loadCorePlugins doesn't throw anymore when a plugin fails to load, just logs
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
package net.runelite.client;
|
||||
|
||||
import com.google.common.annotations.VisibleForTesting;
|
||||
import com.google.common.eventbus.EventBus;
|
||||
import com.google.inject.Guice;
|
||||
import com.google.inject.Inject;
|
||||
@@ -170,6 +171,18 @@ public class RuneLite
|
||||
this.gui = gui;
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
public void setClient(Client client)
|
||||
{
|
||||
this.client = client;
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
public void setNotifier(Notifier notifier)
|
||||
{
|
||||
this.notifier = notifier;
|
||||
}
|
||||
|
||||
public static Injector getInjector()
|
||||
{
|
||||
return injector;
|
||||
|
||||
Reference in New Issue
Block a user