diff --git a/src/main/java/com/github/ucchyocean/lc/ChannelManager.java b/src/main/java/com/github/ucchyocean/lc/ChannelManager.java index 8af5fee..2f81e4d 100644 --- a/src/main/java/com/github/ucchyocean/lc/ChannelManager.java +++ b/src/main/java/com/github/ucchyocean/lc/ChannelManager.java @@ -141,7 +141,9 @@ public class ChannelManager implements LunaChatAPI { try { YamlConfiguration config = new YamlConfiguration(); - config.set("", templates); + for ( String key : templates.keySet() ) { + config.set(key, templates.get(key)); + } config.save(fileTemplates); return true; } catch (IOException e) { diff --git a/target/LunaChat.jar b/target/LunaChat.jar index 2e8c43c..64d8da4 100644 Binary files a/target/LunaChat.jar and b/target/LunaChat.jar differ