Skip to content

Commit

Permalink
Yikes!
Browse files Browse the repository at this point in the history
  • Loading branch information
untodesu committed Apr 2, 2023
1 parent 9067c2a commit 98a95c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/su/gprb/nrmc/motd/AnarMotd.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void reloadConfig()
final String mformat = Objects.requireNonNull(config.getString("motd.format"));
final String tformat = Objects.requireNonNull(config.getString("title.format"));
final String title = Objects.requireNonNull(StringUtils.rightPad(config.getString("title.text"), 4));
final String tx = (tformat + title.substring(0, 3) + ChatColor.RESET);
final String tx = (tformat + title.substring(0, 2) + ChatColor.RESET);
final String ty = (tformat + title.substring(2, 4) + ChatColor.RESET);

motds = Files.readAllLines(Paths.get(Objects.requireNonNull(config.getString("motd.file"))));
Expand Down

0 comments on commit 98a95c9

Please sign in to comment.