diff --git a/.gitignore b/.gitignore index 77d9874..035f367 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ ################# *.pydevproject -.project .metadata/ bin/ tmp/ diff --git a/p.javaproj b/.project similarity index 62% rename from p.javaproj rename to .project index 17a4a46..032136e 100644 --- a/p.javaproj +++ b/.project @@ -1,6 +1,6 @@ - TheButtonAutoFlair + TheButtonMinecraftChat @@ -10,8 +10,14 @@ + + org.eclipse.m2e.core.maven2Builder + + + + org.eclipse.m2e.core.maven2Nature org.eclipse.jdt.core.javanature diff --git a/src/buttondevteam/thebuttonmcchat/ChatFormatter.java b/src/buttondevteam/thebuttonmcchat/ChatFormatter.java index a8868da..4a0b688 100644 --- a/src/buttondevteam/thebuttonmcchat/ChatFormatter.java +++ b/src/buttondevteam/thebuttonmcchat/ChatFormatter.java @@ -26,22 +26,7 @@ public final class ChatFormatter { this.priority = Priority.High; } - public ChatFormatter(Pattern regex, Format format, String openlink) { // TODO: - // Openlink - // won't - // be - // replaced, - // as - // the - // original - // string - // should - // be; - // replace - // $1 - // with - // match - // TODO: Get indexes and work with those + public ChatFormatter(Pattern regex, Format format, String openlink) { this.regex = regex; this.format = format; this.openlink = openlink; @@ -72,7 +57,7 @@ public final class ChatFormatter { public static String Combine(List formatters, String str) { /* - * This method assumes that there are always a global formatter + * This method assumes that there is always a global formatter */ ArrayList sections = new ArrayList(); for (ChatFormatter formatter : formatters) {