mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-13 21:54:05 +00:00
Don't randomly add 1 second to parsed dates
This commit is contained in:
1 file changed
+2
-2
@@ -127,9 +127,9 @@ public final class DateParser {
|
||||
max.add(Calendar.YEAR, 10);
|
||||
|
||||
if (c.after(max)) {
|
||||
return (max.getTimeInMillis() / 1000) + 1;
|
||||
c = max;
|
||||
}
|
||||
return (c.getTimeInMillis() / 1000) + 1;
|
||||
return c.getTimeInMillis() / 1000;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user