mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 19:15:44 +00:00
Only remove first date match from ban reason.
This commit is contained in:
parent
da6df89126
commit
27890e2b22
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue