runelite-client: initialize config on start for fishing and imp plugin
This commit is contained in:
@@ -63,6 +63,9 @@ public class FishingPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
ScheduledExecutorService executor = runelite.getExecutor();
|
ScheduledExecutorService executor = runelite.getExecutor();
|
||||||
future = executor.scheduleAtFixedRate(this::checkFishing, CHECK_INTERVAL, CHECK_INTERVAL, TimeUnit.SECONDS);
|
future = executor.scheduleAtFixedRate(this::checkFishing, CHECK_INTERVAL, CHECK_INTERVAL, TimeUnit.SECONDS);
|
||||||
|
|
||||||
|
// Initialize overlay config
|
||||||
|
spotOverlay.updateConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -52,6 +52,9 @@ public class Implings extends Plugin
|
|||||||
font = font.deriveFont(Font.BOLD, 16);
|
font = font.deriveFont(Font.BOLD, 16);
|
||||||
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
|
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
|
||||||
ge.registerFont(font);
|
ge.registerFont(font);
|
||||||
|
|
||||||
|
// Initialize overlay config
|
||||||
|
overlay.updateConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user