Move risky cheats back to one box only

This commit is contained in:
Username404-59 2021-05-14 14:23:44 +02:00
parent 4295f997f8
commit 4305204898
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
3 changed files with 5 additions and 9 deletions

View File

@ -35,12 +35,10 @@ object Storage {
) )
if (riskyCheats) { if (riskyCheats) {
addComps( addComps(
newBox("snowy.clickbox.risky.camera", color = redColor).addButtons( newBox("snowy.clickbox.risky", color = redColor).addButtons(
"NoHurtCamera" to { hurtCamera = !toggled },
),
newBox("snowy.clickbox.risky.movement", color = redColor).addButtons(
"NoGravity" to { Minecraft.getInstance().player?.let { it.isNoGravity = toggled } }, "NoGravity" to { Minecraft.getInstance().player?.let { it.isNoGravity = toggled } },
), "NoHurtCamera" to { hurtCamera = !toggled },
)
) )
} }
} }

View File

@ -5,6 +5,5 @@
"key.snowy.opengui": "Open the snowy gui", "key.snowy.opengui": "Open the snowy gui",
"key.snowy.configkey": "Open the snowy configuration screen", "key.snowy.configkey": "Open the snowy configuration screen",
"snowy.clickbox.misc": "Miscellaneous", "snowy.clickbox.misc": "Miscellaneous",
"snowy.clickbox.risky.camera": "Camera", "snowy.clickbox.risky": "Risky"
"snowy.clickbox.risky.movement": "Movement"
} }

View File

@ -5,6 +5,5 @@
"key.snowy.opengui": "Ouvrir l'interface de snowy", "key.snowy.opengui": "Ouvrir l'interface de snowy",
"key.snowy.configkey": "Ouvrir l'écran de configuration de snowy", "key.snowy.configkey": "Ouvrir l'écran de configuration de snowy",
"snowy.clickbox.misc": "Divers", "snowy.clickbox.misc": "Divers",
"snowy.clickbox.risky.camera": "Caméra", "snowy.clickbox.risky": "Risqué"
"snowy.clickbox.risky.movement": "Mouvement"
} }