mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 14:21:33 +00:00
Fix pregen speed issue
This commit is contained in:
+1
-1
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user