Add config migration feature
This commit is contained in:
parent
5aeef212dc
commit
25fdec31b1
16 changed files with 252 additions and 151 deletions
|
|
@ -74,6 +74,11 @@ public class VelocityTomlConfig implements ServerUtilsConfig {
|
|||
return config.get(path);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getInt(String path) {
|
||||
return config.getOrElse(path, -1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<? extends String> getKeys() {
|
||||
return new HashSet<>(config.valueMap().keySet());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue