mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16: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
|
Version 2.1.155
|
||||||
Master Angler now has 8 ranks
|
Master Angler now has 8 ranks
|
||||||
Master Angler is now supported by the latest builds of Spigot on 1.16.4
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||||
<artifactId>mcMMO</artifactId>
|
<artifactId>mcMMO</artifactId>
|
||||||
<version>2.1.155</version>
|
<version>2.1.156-SNAPSHOT</version>
|
||||||
<name>mcMMO</name>
|
<name>mcMMO</name>
|
||||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -35,7 +35,7 @@ public class ChatConfig extends AutoUpdateConfigLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isChatChannelEnabled(@NotNull ChatChannel chatChannel) {
|
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);
|
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
|
# Whether or not players with the chat spy permission join the server with chat spying toggled on
|
||||||
Automatically_Enable_Spying: false
|
Automatically_Enable_Spying: false
|
||||||
Admin:
|
Admin:
|
||||||
# Enable or disable party chat
|
# Enable or disable admin chat
|
||||||
Enable: true
|
Enable: true
|
||||||
# Whether or not to use the current display name of a player
|
# Whether or not to use the current display name of a player
|
||||||
Use_Display_Names: true
|
Use_Display_Names: true
|
||||||
|
Loading…
Reference in New Issue
Block a user