From 04019e9fd0874f1bc5a1c56fd8cd2d9bfafc049c Mon Sep 17 00:00:00 2001 From: thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> Date: Sun, 4 Feb 2024 15:44:31 -0800 Subject: [PATCH] minor style changes --- .../exdeorum/blockentity/logic/SieveLogic.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/thedarkcolour/exdeorum/blockentity/logic/SieveLogic.java b/src/main/java/thedarkcolour/exdeorum/blockentity/logic/SieveLogic.java index 36f6c024..ac6225f6 100644 --- a/src/main/java/thedarkcolour/exdeorum/blockentity/logic/SieveLogic.java +++ b/src/main/java/thedarkcolour/exdeorum/blockentity/logic/SieveLogic.java @@ -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