grounditems: add test for notify on highlight

This commit is contained in:
Adam
2020-08-31 10:56:14 -04:00
parent d7cb489eaf
commit 2021b4c1ff
3 changed files with 161 additions and 2 deletions

View File

@@ -41,8 +41,13 @@ public class MouseManager
private final List<MouseListener> mouseListeners = new CopyOnWriteArrayList<>();
private final List<MouseWheelListener> mouseWheelListeners = new CopyOnWriteArrayList<>();
private final RuneLiteConfig runeLiteConfig;
@Inject
private RuneLiteConfig runeLiteConfig;
private MouseManager(RuneLiteConfig runeLiteConfig)
{
this.runeLiteConfig = runeLiteConfig;
}
public void registerMouseListener(MouseListener mouseListener)
{

View File

@@ -197,7 +197,7 @@ public class GroundItemsPlugin extends Plugin
}
@Override
protected void shutDown() throws Exception
protected void shutDown()
{
overlayManager.remove(overlay);
mouseManager.unregisterMouseListener(inputListener);