diff options
author | DoKM <mcazzyman@gmail.com> | 2021-08-03 21:10:22 +0200 |
---|---|---|
committer | DoKM <mcazzyman@gmail.com> | 2021-08-03 21:10:22 +0200 |
commit | 3ccbd6bb51f781d8c18d0389e5d8e79391b7c56c (patch) | |
tree | 0bed7ad2f412ae96da62431e10765ea0c8d9fd31 | |
parent | b1de14337c4481eb922ecbe5a5c008b308fdfa68 (diff) | |
download | NotEnoughUpdates-3ccbd6bb51f781d8c18d0389e5d8e79391b7c56c.tar.gz NotEnoughUpdates-3ccbd6bb51f781d8c18d0389e5d8e79391b7c56c.tar.bz2 NotEnoughUpdates-3ccbd6bb51f781d8c18d0389e5d8e79391b7c56c.zip |
Fix chroma speed being chroma duration instead
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java | 2 | ||||
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java index 6a083cae..c9ee8c9b 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java @@ -66,7 +66,7 @@ public class Misc { maxValue = 500,
minStep = 10
)
- public int chromaSpeed = 100;
+ public int chromaSpeed2 = 400;
@Expose
@ConfigOption(
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java b/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java index a4af51ca..fc8e2fa3 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java @@ -234,7 +234,7 @@ public class Utils { long currentTimeMillis = System.currentTimeMillis(); if(startTime == 0) startTime = currentTimeMillis; - int chromaSpeed = NotEnoughUpdates.INSTANCE.config.misc.chromaSpeed; + int chromaSpeed = 510 - NotEnoughUpdates.INSTANCE.config.misc.chromaSpeed2; if(chromaSpeed < 10) chromaSpeed = 10; if(chromaSpeed > 5000) chromaSpeed = 5000; |