Skip to content

Commit

Permalink
Use proper newline placeholder
Browse files Browse the repository at this point in the history
Fixes #40
  • Loading branch information
UserNugget committed Apr 27, 2024
1 parent 2aa35e4 commit fb13227
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/net/elytrium/velocitytools/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static class MAIN {
}

@Comment({
@CommentValue("Don't use \\n, use {NL} for new line. Ampersand (&) color codes are supported too.\n"),
@CommentValue("Don't use {NL}, use \\n for new line. Ampersand (&) color codes are supported too.\n"),
@CommentValue(),
@CommentValue("Permissions:"),
@CommentValue(" │"),
Expand Down Expand Up @@ -156,7 +156,7 @@ public static class PROTOCOL_BLOCKER {
@Comment(@CommentValue("For \"block-ping\" option."))
public String BRAND = "Version is not supported!";
@Comment(@CommentValue("For \"block-ping\", set to \"\" to disable."))
public String MOTD = "&cVersion is not supported!{NL}&ePlease, join with Minecraft 1.12.2 or newer.";
public String MOTD = "&cVersion is not supported!\n&ePlease, join with Minecraft 1.12.2 or newer.";
@Comment(@CommentValue("For \"block-joining\" option."))
public String KICK_REASON = "&cYour version is unsupported!";
}
Expand All @@ -182,7 +182,7 @@ public static class HOSTNAMES_MANAGER {
@Comment(@CommentValue("For \"debug\" option."))
public boolean SHOW_BLOCKED_ONLY = false;
@Comment(@CommentValue("For \"block-joining\" option, set to \"\" to show the default reason."))
public String KICK_REASON = "&cPlease, don't connect to the direct ip!{NL}Use example.com";
public String KICK_REASON = "&cPlease, don't connect to the direct ip!\nUse example.com";
public boolean WHITELIST = true;
@Comment(@CommentValue("IP Addresses starting with \"127.\" or equal to \"localhost\" will be blocked."))
public boolean BLOCK_LOCAL_ADDRESSES = false;
Expand Down

0 comments on commit fb13227

Please sign in to comment.