mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Update Pregenerator.java
This commit is contained in:
parent
cff8e822f2
commit
2290627c5f
@ -473,7 +473,7 @@ public class Pregenerator implements Listener
|
||||
}
|
||||
|
||||
public String[] getProgress() {
|
||||
long eta = (long) ((totalChunks.get() - generated.get()) * ((double)(M.ms() - elapsed) / (double) generated.get()));
|
||||
long eta = (long) ((totalChunks.get() - generated.get()) / perSecond.getAverage());
|
||||
|
||||
return new String[]{
|
||||
"Progress: " + Form.f(generated.get()) + " of " + Form.f(totalChunks.get()) + " (" + Form.pc((double)generated.get() / (double)totalChunks.get(), 0) + ")",
|
||||
|
Loading…
x
Reference in New Issue
Block a user