mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Merge branch 'patch-34' into 'dev'
Update Log & e.printStackTrace removed See merge request morningstar/Arcturus-Community!235
This commit is contained in:
commit
ae5589d068
@ -72,7 +72,7 @@ public class TextsManager {
|
|||||||
public int getInt(String key, Integer defaultValue) {
|
public int getInt(String key, Integer defaultValue) {
|
||||||
try {
|
try {
|
||||||
return Integer.parseInt(this.getValue(key, defaultValue.toString()));
|
return Integer.parseInt(this.getValue(key, defaultValue.toString()));
|
||||||
} catch (Exception e) {
|
} catch (NumberFormatException e) {
|
||||||
LOGGER.error("Caught exception", e);
|
LOGGER.error("Caught exception", e);
|
||||||
}
|
}
|
||||||
return defaultValue;
|
return defaultValue;
|
||||||
|
Loading…
Reference in New Issue
Block a user