mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-22 00:27:36 +01:00
Use \n as new line code instead of &n! #898
This commit is contained in:
parent
977bbbb70c
commit
2f9a4e0eda
@ -142,7 +142,7 @@ public class Messages implements SettingsDependent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static String[] formatMessage(String message) {
|
private static String[] formatMessage(String message) {
|
||||||
String[] lines = message.split("&n");
|
String[] lines = message.split("\\n");
|
||||||
for (int i = 0; i < lines.length; ++i) {
|
for (int i = 0; i < lines.length; ++i) {
|
||||||
lines[i] = ChatColor.translateAlternateColorCodes('&', lines[i]);
|
lines[i] = ChatColor.translateAlternateColorCodes('&', lines[i]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user