Adding reference to &k in MOTD.

This commit is contained in:
KHobbits 2012-03-16 23:03:22 +00:00
parent adf3755abb
commit baadd4b1cb
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -8,7 +8,7 @@ Name it info_username.txt or info_groupname.txt
This also works with motd and rules.
Extra pages:
Type /info Colours
Type /info Colors
Type /info Tags
If you have problem viewing this file ingame, try using /einfo.
@ -29,6 +29,7 @@ Minecraft colors:
&4 &&4 &5 &&5 &6 &&6 &7 &&7
&8 &&8 &9 &&9 &a &&a &b &&b
&c &&c &d &&d &e &&e &f &&f
&&k &k Magic!
#Tags
PLAYER: {PLAYER}