From 82af939f7e982908211e84d2c9cbcef0bbea167e Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Fri, 7 May 2021 10:17:48 +0200 Subject: [PATCH] Fix the NoHurtCamera feature --- .../main/kotlin/fr/username404/snowygui/misc/addComponents.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } },