Skip to content

Commit

Permalink
fix a small oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Aug 1, 2023
1 parent 5cc629c commit db8866d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public ConfigSection getConfigSection(String path, Map<String, Object> defaultKe
public ConfigSection getConfigSection(String path, Map<String, Object> 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);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public ConfigSection getConfigSection(String path, Map<String, Object> defaultKe
public ConfigSection getConfigSection(String path, Map<String, Object> 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);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public ConfigSection getConfigSection(String path, Map<String, Object> defaultKe
public ConfigSection getConfigSection(String path, Map<String, Object> 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);
}

Expand Down

0 comments on commit db8866d

Please sign in to comment.