runecraft plugin: check config group before updating config
This commit is contained in:
@@ -121,7 +121,10 @@ public class RunecraftPlugin extends Plugin
|
|||||||
@Subscribe
|
@Subscribe
|
||||||
public void onConfigChanged(ConfigChanged event)
|
public void onConfigChanged(ConfigChanged event)
|
||||||
{
|
{
|
||||||
abyssOverlay.updateConfig();
|
if (event.getGroup().equals("runecraft"))
|
||||||
|
{
|
||||||
|
abyssOverlay.updateConfig();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
|
|||||||
Reference in New Issue
Block a user