runecraft plugin: check config group before updating config

This commit is contained in:
Adam
2019-08-26 21:26:56 -04:00
parent 7197f0e2d8
commit a88f8e6624

View File

@@ -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