mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-09 08:06:54 +02:00
Only remove first date match from ban reason.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user