TCheckpoint
This commit is contained in:
parent
c5b686aeb5
commit
9ae9bf64e7
54 changed files with 252 additions and 118 deletions
|
|
@ -21,7 +21,8 @@ public class ActiveConfig {
|
|||
GrimmsServer.logger.warning("Config value for " + key.getKey() + " is not of type " + ignoredType.getSimpleName() + ". Message: " + e.getMessage());
|
||||
try {
|
||||
return ignoredType.getDeclaredConstructor().newInstance();
|
||||
} catch (InvocationTargetException | NoSuchMethodException | IllegalAccessException | InstantiationException ex) {
|
||||
} catch (InvocationTargetException | NoSuchMethodException | IllegalAccessException |
|
||||
InstantiationException ex) {
|
||||
GrimmsServer.logger.warning("Failed to instantiate default value for " + key.getKey() + ". Message: " + ex.getMessage());
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue