mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 02:03:59 +00:00
Fix pregen speed issue
This commit is contained in:
parent
c2de0dd613
commit
d635705449
@ -5,7 +5,7 @@ plugins {
|
||||
}
|
||||
|
||||
group 'com.volmit.iris'
|
||||
version '1.5.2'
|
||||
version '1.5.3'
|
||||
def apiVersion = '1.17'
|
||||
def name = 'Iris'
|
||||
def main = 'com.volmit.iris.Iris'
|
||||
|
@ -216,7 +216,7 @@ public class Pregenerator implements Listener {
|
||||
int up = m - w;
|
||||
double dur = p.getMilliseconds();
|
||||
perSecond.put((int) (up / (dur / 1000D)));
|
||||
perSecond.put((int) (up / (dur / 60000D)));
|
||||
perMinute.put((int) (up / (dur / 60000D)));
|
||||
p.reset();
|
||||
p.begin();
|
||||
updateProgress();
|
||||
|
Loading…
x
Reference in New Issue
Block a user