mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-26 04:25:31 +01:00
Improve progressEstimation function
This commit is contained in:
parent
aed400ddae
commit
083c6c06c2
@ -66,7 +66,6 @@ public synchronized boolean hasMoreWork() {
|
||||
|
||||
@Override
|
||||
public double estimateProgress() {
|
||||
if (!hasMoreWork()) return 1;
|
||||
int currentTask = this.currentTaskIndex;
|
||||
if (currentTask >= this.tasks.size()) return 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user