mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-06 02:51:32 +01:00
Only remove first date match from ban reason.
This commit is contained in:
parent
da6df89126
commit
27890e2b22
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user