Add NoGravity

This commit is contained in:
Username404-59 2021-05-05 11:18:32 +02:00
parent 4e1453b94b
commit 3d65eb2c90
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ object Storage {
} }
), ),
newBox("snowy.clickbox.risky", color = 0x660000).addButtons( newBox("snowy.clickbox.risky", color = 0x660000).addButtons(
"NoHurtCamera" to { hurtCamera = !hurtCamera } "NoHurtCamera" to { hurtCamera = !hurtCamera },
"NoGravity" to { Minecraft.getInstance().player?.let { it.isNoGravity = !it.isNoGravity } }
), ),
) )
} }