Skip to content

Commit 7c1d824

Browse files
dont print faulty line to console two times
1 parent de4defe commit 7c1d824

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/dev/nincodedo/bluemapbanners/manager/ConfigManager.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ private void readConfigFile() {
4848
// Try adding the entry into the hashmap
4949
this.config.put(Config.fromKey(entry[0].trim()), entry[1].trim());
5050
}
51-
catch (IndexOutOfBoundsException | IllegalArgumentException exception) {
52-
BlueMapBanners.LOGGER.error("Invalid config line: {}", line);
53-
}
51+
catch (IndexOutOfBoundsException | IllegalArgumentException ignored) {}
5452
}
5553
}
5654
catch (IOException ioe) {

0 commit comments

Comments
 (0)