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 18115fb..985888f 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/misc/addComponents.kt @@ -36,7 +36,7 @@ object Storage { if (riskyCheats) { addComps( newBox("snowy.clickbox.risky.camera", color = redColor).addButtons( - "NoHurtCamera" to { hurtCamera = toggled }, + "NoHurtCamera" to { hurtCamera = !toggled }, ), newBox("snowy.clickbox.risky.movement", color = redColor).addButtons( "NoGravity" to { Minecraft.getInstance().player?.let { it.isNoGravity = toggled } },