9
0
mirror of https://github.com/Samsuik/Sakura.git synced 2025-12-21 15:59:26 +00:00

Fix wrong comparison used in isExpired

This commit is contained in:
Samsuik
2025-02-13 00:51:58 +00:00
parent 5410f06e7e
commit 237192891b

View File

@@ -19,6 +19,6 @@ public final class TickExpiry {
} }
public boolean isExpired(long tick) { public boolean isExpired(long tick) {
return this.tick >= tick - this.expiration; return this.tick < tick - this.expiration;
} }
} }