minor style changes
This commit is contained in:
parent
30b8772409
commit
04019e9fd0
|
|
@ -75,10 +75,11 @@ public class SieveLogic {
|
||||||
|
|
||||||
// Do not call on the client side
|
// Do not call on the client side
|
||||||
public void sift(float incrementProgress, long time) {
|
public void sift(float incrementProgress, long time) {
|
||||||
if (time < lastTime + minInterval)
|
if (time < this.lastTime + this.minInterval) {
|
||||||
return;
|
return;
|
||||||
lastTime = time;
|
}
|
||||||
|
|
||||||
|
this.lastTime = time;
|
||||||
this.progress += incrementProgress * this.efficiency;
|
this.progress += incrementProgress * this.efficiency;
|
||||||
|
|
||||||
// Need epsilon because floating point decimals suck
|
// Need epsilon because floating point decimals suck
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user