1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-09 16:17:37 +02:00

Only remove first date match from ban reason.

This commit is contained in:
KHobbits
2014-06-14 16:27:34 +01:00
parent 4d16fe338d
commit 784d22bb11

View File

@@ -13,7 +13,7 @@ public class DateUtil
public static String removeTimePattern(String input)
{
return timePattern.matcher(input).replaceAll("").trim();
return timePattern.matcher(input).replaceFirst("").trim();
}
public static long parseDateDiff(String time, boolean future) throws Exception