Added 'Chat.Channels.Party.Spies.Automatically_Enable_Spying' which allows chat spys to join servers with spying toggled on instead of off

its a QOL feature for people who are always spying on chat
This commit is contained in:
nossr50
2020-10-29 13:12:26 -07:00
parent 8856d2b071
commit 449407439a
5 changed files with 15 additions and 2 deletions

View File

@@ -48,4 +48,9 @@ public class ChatConfig extends AutoUpdateConfigLoader {
String key = "Chat.Channels." + StringUtils.getCapitalized(chatChannel.toString()) + ".Use_Display_Names";
return config.getBoolean(key, true);
}
public boolean isSpyingAutomatic() {
return config.getBoolean("Chat.Channels.Party.Spies.Automatically_Enable_Spying", false);
}
}