1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-07 00:38:42 +01:00

Fix for useAsWhitelist not works

Fixes #929
This commit is contained in:
montlikadani 2020-10-02 13:13:04 +02:00
parent 3032802fad
commit d5905519df

View File

@ -210,36 +210,6 @@ public class GeneralConfigManager {
return modifyChat; 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() { public synchronized int getEconomyBatchDelay() {
return economyBatchDelay; return economyBatchDelay;
} }
@ -273,7 +243,7 @@ public class GeneralConfigManager {
return true; return true;
if (UseAsWhiteListWorldList) { if (UseAsWhiteListWorldList) {
return DisabledWorldsList.isEmpty() && DisabledWorldsList.contains(world); return DisabledWorldsList.contains(world);
} }
if (DisabledWorldsList.isEmpty()) if (DisabledWorldsList.isEmpty())