From fc8efdd00c808ddd1020ba28c4a41c10b685e9fc Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Thu, 22 Jun 2017 07:20:38 +1200 Subject: [PATCH] And remove my test stuff heh --- src/me/libraryaddict/disguise/utilities/TranslateType.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/me/libraryaddict/disguise/utilities/TranslateType.java b/src/me/libraryaddict/disguise/utilities/TranslateType.java index 156b7cbf..d895738f 100644 --- a/src/me/libraryaddict/disguise/utilities/TranslateType.java +++ b/src/me/libraryaddict/disguise/utilities/TranslateType.java @@ -89,8 +89,8 @@ public enum TranslateType { translated.put(message, message); message = StringEscapeUtils.escapeJava(message.replaceAll(ChatColor.COLOR_CHAR + "", "&")); - String message1 = StringEscapeUtils.escapeJava( - StringUtils.reverse(message).replaceAll("s%", "%s").replaceAll(ChatColor.COLOR_CHAR + "", "&")); + // String message1 = StringEscapeUtils.escapeJava( + // StringUtils.reverse(message).replaceAll("s%", "%s").replaceAll(ChatColor.COLOR_CHAR + "", "&")); try { boolean exists = file.exists(); @@ -111,7 +111,7 @@ public enum TranslateType { } writer.write("\n" + (comment != null ? "# " + comment + "\n" : - "") + "\"" + message + "\": \"" + message1 + "\"\n"); + "") + "\"" + message + "\": \"" + message + "\"\n"); writer.close(); }