mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-03 17:39:31 +01:00
Don't randomly add 1 second to parsed dates
This commit is contained in:
parent
6237d58ad6
commit
cc5d7ea873
@ -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;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user