diff --git a/NetherCeiling-1.12.2/src/main/java/me/xginko/netherceiling/config/Config.java b/NetherCeiling-1.12.2/src/main/java/me/xginko/netherceiling/config/Config.java index 9e34438..f356236 100644 --- a/NetherCeiling-1.12.2/src/main/java/me/xginko/netherceiling/config/Config.java +++ b/NetherCeiling-1.12.2/src/main/java/me/xginko/netherceiling/config/Config.java @@ -140,7 +140,7 @@ public ConfigSection getConfigSection(String path, Map defaultKe public ConfigSection getConfigSection(String path, Map defaultKeyValue, String comment) { config.addDefault(path, null, comment); config.makeSectionLenient(path); - defaultKeyValue.forEach((string, object) -> config.addExample(path+string, object)); + defaultKeyValue.forEach((string, object) -> config.addExample(path+"."+string, object)); return config.getConfigSection(path); } diff --git a/NetherCeiling-1.16.5/src/main/java/me/xginko/netherceiling/config/Config.java b/NetherCeiling-1.16.5/src/main/java/me/xginko/netherceiling/config/Config.java index 242aff2..dd5b2d8 100644 --- a/NetherCeiling-1.16.5/src/main/java/me/xginko/netherceiling/config/Config.java +++ b/NetherCeiling-1.16.5/src/main/java/me/xginko/netherceiling/config/Config.java @@ -143,7 +143,7 @@ public ConfigSection getConfigSection(String path, Map defaultKe public ConfigSection getConfigSection(String path, Map defaultKeyValue, String comment) { config.addDefault(path, null, comment); config.makeSectionLenient(path); - defaultKeyValue.forEach((string, object) -> config.addExample(path+string, object)); + defaultKeyValue.forEach((string, object) -> config.addExample(path+"."+string, object)); return config.getConfigSection(path); } diff --git a/NetherCeiling-1.20.1/src/main/java/me/xginko/netherceiling/config/Config.java b/NetherCeiling-1.20.1/src/main/java/me/xginko/netherceiling/config/Config.java index 242aff2..dd5b2d8 100644 --- a/NetherCeiling-1.20.1/src/main/java/me/xginko/netherceiling/config/Config.java +++ b/NetherCeiling-1.20.1/src/main/java/me/xginko/netherceiling/config/Config.java @@ -143,7 +143,7 @@ public ConfigSection getConfigSection(String path, Map defaultKe public ConfigSection getConfigSection(String path, Map defaultKeyValue, String comment) { config.addDefault(path, null, comment); config.makeSectionLenient(path); - defaultKeyValue.forEach((string, object) -> config.addExample(path+string, object)); + defaultKeyValue.forEach((string, object) -> config.addExample(path+"."+string, object)); return config.getConfigSection(path); }