mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Fix chat.yml chat channel toggles
This commit is contained in:
parent
d9e99b08db
commit
c9b950d0c8
@ -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
|
||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||
<artifactId>mcMMO</artifactId>
|
||||
<version>2.1.155</version>
|
||||
<version>2.1.156-SNAPSHOT</version>
|
||||
<name>mcMMO</name>
|
||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||
<scm>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user