mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
Fix chat.yml chat channel toggles
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ Chat:
|
||||
# Whether or not players with the chat spy permission join the server with chat spying toggled on
|
||||
Automatically_Enable_Spying: false
|
||||
Admin:
|
||||
# Enable or disable party chat
|
||||
# Enable or disable admin chat
|
||||
Enable: true
|
||||
# Whether or not to use the current display name of a player
|
||||
Use_Display_Names: true
|
||||
|
Reference in New Issue
Block a user