Improve progressEstimation function

This commit is contained in:
Lukas Rieger (Blue) 2023-05-15 17:18:25 +02:00
parent aed400ddae
commit 083c6c06c2
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
1 changed files with 0 additions and 1 deletions

View File

@ -66,7 +66,6 @@ public class CombinedRenderTask<T extends RenderTask> implements RenderTask {
@Override
public double estimateProgress() {
if (!hasMoreWork()) return 1;
int currentTask = this.currentTaskIndex;
if (currentTask >= this.tasks.size()) return 1;