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

@@ -120,9 +120,12 @@ public class RunecraftPlugin extends Plugin
@Subscribe
public void onConfigChanged(ConfigChanged event)
{
if (event.getGroup().equals("runecraft"))
{
abyssOverlay.updateConfig();
}
}
@Subscribe
public void onChatMessage(ChatMessage event)