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