mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-01 14:38:57 +00:00
Merge pull request #52 from TownyAdvanced/fix/perworld_section
Fix worlds section not generating when per-world is set to true in the chatconfig.yml.
This commit is contained in:
3 files changed
+5
-3
No files matched your search
@@ -7,7 +7,7 @@
|
||||
<groupId>com.palmergames.bukkit</groupId>
|
||||
<artifactId>TownyChat</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>0.108</version>
|
||||
<version>0.109</version>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
|
||||
@@ -467,4 +467,6 @@ v0.107:
|
||||
- Handle knock-off Essentials plugins fooling TownyChat into hooking the real EssentialsX.
|
||||
v0.108:
|
||||
- Fix help menus not being coloured properly.
|
||||
- Update min. Towny version to 0.99.5.0.
|
||||
- Update min. Towny version to 0.99.5.0.
|
||||
v0.109:
|
||||
- Fix worlds section not generating when per-world is set to true in the chatconfig.yml.
|
||||
@@ -265,7 +265,7 @@ public class ChatSettings {
|
||||
}
|
||||
|
||||
private static String getOrDefault(String configPath, ChatConfigNodes channelNode) {
|
||||
return (String) chatConfig.get(configPath != null ? configPath : channelNode.getDefault());
|
||||
return String.valueOf(chatConfig.get(configPath, channelNode.getDefault()));
|
||||
}
|
||||
|
||||
private static void addWorldFormat(WorldFormat format) {
|
||||
|
||||
Reference in new issue
Block a user