diff options
author | DoKM <mcazzyman@gmail.com> | 2021-08-03 21:10:22 +0200 |
---|---|---|
committer | DoKM <mcazzyman@gmail.com> | 2021-08-04 13:54:02 +0200 |
commit | c4fb9b642b7c5281c008cb25f82a9332a95eb775 (patch) | |
tree | 26990481e837e104ee8c843e46ed40b83d03b1e5 /src/main/java | |
parent | 083895a52e6a5436efe9e2c4be672a6eb00b2259 (diff) | |
download | NotEnoughUpdates-c4fb9b642b7c5281c008cb25f82a9332a95eb775.tar.gz NotEnoughUpdates-c4fb9b642b7c5281c008cb25f82a9332a95eb775.tar.bz2 NotEnoughUpdates-c4fb9b642b7c5281c008cb25f82a9332a95eb775.zip |
Revert "Fix chroma speed being chroma duration instead"
This reverts commit 3ccbd6bb51f781d8c18d0389e5d8e79391b7c56c.
Diffstat (limited to 'src/main/java')
-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 c9ee8c9b..6a083cae 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 chromaSpeed2 = 400;
+ public int chromaSpeed = 100;
@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 fc8e2fa3..a4af51ca 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 = 510 - NotEnoughUpdates.INSTANCE.config.misc.chromaSpeed2; + int chromaSpeed = NotEnoughUpdates.INSTANCE.config.misc.chromaSpeed; if(chromaSpeed < 10) chromaSpeed = 10; if(chromaSpeed > 5000) chromaSpeed = 5000; |