diff --git a/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt b/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt index db759c0..75e8a57 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt @@ -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 }