mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 22:21:52 +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
+4
-2
No files matched your search
@@ -7,7 +7,7 @@
|
|||||||
<groupId>com.palmergames.bukkit</groupId>
|
<groupId>com.palmergames.bukkit</groupId>
|
||||||
<artifactId>TownyChat</artifactId>
|
<artifactId>TownyChat</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>0.108</version>
|
<version>0.109</version>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
|||||||
@@ -468,3 +468,5 @@ v0.107:
|
|||||||
v0.108:
|
v0.108:
|
||||||
- Fix help menus not being coloured properly.
|
- 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) {
|
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) {
|
private static void addWorldFormat(WorldFormat format) {
|
||||||
|
|||||||
Reference in new issue
Block a user