summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorementalo <ementalodev@gmx.co.uk>2012-06-27 00:29:50 +0100
committerementalo <ementalodev@gmx.co.uk>2012-06-27 00:29:50 +0100
commitc5d93a7e5497f0b17f9b86cbf2561f68945b7f29 (patch)
treeb89bf1cace4e20fd46e594d63bf2aab6d4c333f5
parent44e71dcbb988fc996555863d07f24b2e90c21b6f (diff)
downloadEssentials-c5d93a7e5497f0b17f9b86cbf2561f68945b7f29.tar
Essentials-c5d93a7e5497f0b17f9b86cbf2561f68945b7f29.tar.gz
Essentials-c5d93a7e5497f0b17f9b86cbf2561f68945b7f29.tar.lz
Essentials-c5d93a7e5497f0b17f9b86cbf2561f68945b7f29.tar.xz
Essentials-c5d93a7e5497f0b17f9b86cbf2561f68945b7f29.zip
Fix Colours
-rw-r--r--Essentials/src/com/earth2me/essentials/utils/textreader/TextInput.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/utils/textreader/TextInput.java b/Essentials/src/com/earth2me/essentials/utils/textreader/TextInput.java
index a8a8598d1..570feaa36 100644
--- a/Essentials/src/com/earth2me/essentials/utils/textreader/TextInput.java
+++ b/Essentials/src/com/earth2me/essentials/utils/textreader/TextInput.java
@@ -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++;
}
}