minor style changes

This commit is contained in:
thedarkcolour 2024-02-04 15:44:31 -08:00 committed by GitHub
parent 30b8772409
commit 04019e9fd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,10 +75,11 @@ public class SieveLogic {
// Do not call on the client side
public void sift(float incrementProgress, long time) {
if (time < lastTime + minInterval)
if (time < this.lastTime + this.minInterval) {
return;
lastTime = time;
}
this.lastTime = time;
this.progress += incrementProgress * this.efficiency;
// Need epsilon because floating point decimals suck