diff options
Diffstat (limited to 'src/main/java/de/torui/coflsky/EventHandler.java')
-rw-r--r-- | src/main/java/de/torui/coflsky/EventHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/torui/coflsky/EventHandler.java b/src/main/java/de/torui/coflsky/EventHandler.java index 6fac06a..55bd4ba 100644 --- a/src/main/java/de/torui/coflsky/EventHandler.java +++ b/src/main/java/de/torui/coflsky/EventHandler.java @@ -30,7 +30,7 @@ public class EventHandler { private static String server = ""; public static void TabMenuData() { - if (isInSkyblock && CoflSky.Wrapper.isRunning){ + if (isInSkyblock && CoflSky.Wrapper.isRunning && Configuration.getInstance().collectTab){ List<String> tabdata = getTabList(); int size = tabdata.size() - 1; for (int i = 0; i < tabdata.size(); i++) { @@ -120,7 +120,7 @@ public class EventHandler { return tabListAsString; } private static void ProcessTabMenu(String line) { - if (line.contains("server:")) { + if (Configuration.getInstance().collectLobbyChanges && line.contains("server:")) { String server_ = line.split("server: ")[1]; if (!server.equals(server_)) { server = server_; |