diff --git a/src/main/java/ch/njol/skript/util/Time.java b/src/main/java/ch/njol/skript/util/Time.java index 3c903833198..cd0ee78d8c3 100644 --- a/src/main/java/ch/njol/skript/util/Time.java +++ b/src/main/java/ch/njol/skript/util/Time.java @@ -31,7 +31,7 @@ public enum TimeState { private int minute; private TimeState timeState; - private static final Pattern DAY_TIME_PATTERN = Pattern.compile("(\\d?\\d)(:(\\d\\d))? ?(am|pm)?", Pattern.CASE_INSENSITIVE); + private static final Pattern DAY_TIME_PATTERN = Pattern.compile("(\\d?\\d)(:(\\d\\d))? ?(am|pm)", Pattern.CASE_INSENSITIVE); private static final Pattern TIME_PATTERN = Pattern.compile("\\d?\\d:\\d\\d", Pattern.CASE_INSENSITIVE); public Time() {