Fix chat.yml chat channel toggles

This commit is contained in:
nossr50
2020-11-10 11:07:07 -08:00
parent d9e99b08db
commit c9b950d0c8
4 changed files with 6 additions and 3 deletions

View File

@ -35,7 +35,7 @@ public class ChatConfig extends AutoUpdateConfigLoader {
}
public boolean isChatChannelEnabled(@NotNull ChatChannel chatChannel) {
String key = "Chat.Channels." + StringUtils.getCapitalized(chatChannel.toString()) + ".Enabled";
String key = "Chat.Channels." + StringUtils.getCapitalized(chatChannel.toString()) + ".Enable";
return config.getBoolean(key, true);
}