Use \n as new line code instead of &n! #898

This commit is contained in:
Gabriele C 2016-08-11 22:37:27 +02:00
parent 977bbbb70c
commit 2f9a4e0eda

View File

@ -142,7 +142,7 @@ public class Messages implements SettingsDependent {
}
private static String[] formatMessage(String message) {
String[] lines = message.split("&n");
String[] lines = message.split("\\n");
for (int i = 0; i < lines.length; ++i) {
lines[i] = ChatColor.translateAlternateColorCodes('&', lines[i]);
}