1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-12 09:35:26 +02:00

Fix Colours

This commit is contained in:
ementalo
2012-06-27 00:29:50 +01:00
parent 44e71dcbb9
commit c5d93a7e54

View File

@@ -85,9 +85,9 @@ public class TextInput implements IText
if (line.length() > 0 && line.charAt(0) == '#')
{
bookmarks.put(line.substring(1).toLowerCase(Locale.ENGLISH).replaceAll("&[0-9a-fk]", ""), lineNumber);
chapters.add(line.substring(1).replace('&', '§').replace("§", "&"));
chapters.add(line.substring(1).replace('&', '§').replace("§§", "&"));
}
lines.add(line.replace('&', '§').replace("§", "&"));
lines.add(line.replace('&', '§').replace("§§", "&"));
lineNumber++;
}
}