Fix Configuration.kt and the GammaBoost feature
This commit is contained in:
parent
f8fbf1eb09
commit
94384561c3
|
@ -72,7 +72,7 @@ object Configuration {
|
|||
runBlocking {
|
||||
ClickGui.boxContext {
|
||||
enabledFeatures.putAll(
|
||||
it.buttons.map { button ->
|
||||
buttons.map { button ->
|
||||
button.key to button.value.toggled
|
||||
}
|
||||
)
|
||||
|
|
|
@ -25,7 +25,7 @@ object Storage {
|
|||
newBox("snowy.clickbox.misc").addButtons(
|
||||
"GammaBoost" to {
|
||||
with(Minecraft.getInstance().options) {
|
||||
gamma = if (!toggled && gamma != 1400.0) {
|
||||
gamma = if (toggled && gamma != 1400.0) {
|
||||
oldGamma = gamma
|
||||
1400.0
|
||||
} else oldGamma
|
||||
|
|
Loading…
Reference in New Issue