diff --git a/Changelog.txt b/Changelog.txt index 379607209..319b13d6f 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,3 +1,6 @@ +Version 2.1.156 + Fixed a bug where the admin and party chat toggles in chat.yml didn't function as intended + Version 2.1.155 Master Angler now has 8 ranks Master Angler is now supported by the latest builds of Spigot on 1.16.4 diff --git a/pom.xml b/pom.xml index 2cb56f32c..f782e15d5 100755 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.gmail.nossr50.mcMMO mcMMO - 2.1.155 + 2.1.156-SNAPSHOT mcMMO https://github.com/mcMMO-Dev/mcMMO diff --git a/src/main/java/com/gmail/nossr50/config/ChatConfig.java b/src/main/java/com/gmail/nossr50/config/ChatConfig.java index 1b9204e4b..1440194fc 100644 --- a/src/main/java/com/gmail/nossr50/config/ChatConfig.java +++ b/src/main/java/com/gmail/nossr50/config/ChatConfig.java @@ -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); } diff --git a/src/main/resources/chat.yml b/src/main/resources/chat.yml index 1c5a2da1f..6fa5ecf88 100644 --- a/src/main/resources/chat.yml +++ b/src/main/resources/chat.yml @@ -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