Fix the previous commit

This commit is contained in:
Username404-59 2021-05-08 20:10:40 +02:00
parent e074f54785
commit 98e3729ea7
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ object Storage {
"GammaBoost" to {
with(Minecraft.getInstance().options) {
gamma = if (toggled) {
if (gamma >= 1400.0) oldGamma = gamma
if (gamma < 1400.0) oldGamma = gamma
1400.0
} else oldGamma
}