From d5905519dfb0a56e506b20772df73a55632df9a8 Mon Sep 17 00:00:00 2001 From: montlikadani Date: Fri, 2 Oct 2020 13:13:04 +0200 Subject: [PATCH] Fix for useAsWhitelist not works Fixes #929 --- .../jobs/config/GeneralConfigManager.java | 32 +------------------ 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/config/GeneralConfigManager.java b/src/main/java/com/gamingmesh/jobs/config/GeneralConfigManager.java index 62c0b325..e1d6510b 100644 --- a/src/main/java/com/gamingmesh/jobs/config/GeneralConfigManager.java +++ b/src/main/java/com/gamingmesh/jobs/config/GeneralConfigManager.java @@ -210,36 +210,6 @@ public class GeneralConfigManager { return modifyChat; } - /** - * Get the chat prefix string from file - * @deprecated Use {@link #modifyChatPrefix} - * @return - */ - @Deprecated - public String getModifyChatPrefix() { - return modifyChatPrefix; - } - - /** - * Get the chat suffix string from file - * @deprecated Use {@link #modifyChatSuffix} - * @return - */ - @Deprecated - public String getModifyChatSuffix() { - return modifyChatSuffix; - } - - /** - * Get the chat separator string from file - * @deprecated Use {@link #modifyChatSeparator} - * @return - */ - @Deprecated - public String getModifyChatSeparator() { - return modifyChatSeparator; - } - public synchronized int getEconomyBatchDelay() { return economyBatchDelay; } @@ -273,7 +243,7 @@ public class GeneralConfigManager { return true; if (UseAsWhiteListWorldList) { - return DisabledWorldsList.isEmpty() && DisabledWorldsList.contains(world); + return DisabledWorldsList.contains(world); } if (DisabledWorldsList.isEmpty())