mirror of
https://github.com/Samsuik/Sakura.git
synced 2025-12-21 07:49:29 +00:00
Fix wrong comparison used in isExpired
This commit is contained in:
@@ -19,6 +19,6 @@ public final class TickExpiry {
|
||||
}
|
||||
|
||||
public boolean isExpired(long tick) {
|
||||
return this.tick >= tick - this.expiration;
|
||||
return this.tick < tick - this.expiration;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user