Skip to content

Commit 5267d85

Browse files
committed
moved and renamed ignoreHand
1 parent ca1b162 commit 5267d85

File tree

1 file changed

+2
-2
lines changed
  • common/src/main/kotlin/com/lambda/module/modules/render

1 file changed

+2
-2
lines changed

common/src/main/kotlin/com/lambda/module/modules/render/ViewModel.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ object ViewModel : Module(
2626
) {
2727
private val page by setting("Page", Page.General)
2828

29-
private val ignoreHand by setting("Ignore Hand", false, "Prevents adjusting the players hand") { page == Page.General }
3029
private val swingMode by setting("Swing Mode", SwingMode.Standard, "Changes which hands swing") { page == Page.General }
3130
val swingDuration by setting("Swing Duration", 6, 0..20, 1, "Adjusts how fast the player swings", "ticks") { page == Page.General }
3231
private val noSwingDelay by setting("No Swing Delay", false, "Removes the delay between swings") { page == Page.General }
@@ -77,6 +76,7 @@ object ViewModel : Module(
7776
private var rightFov by setting("Right FOV", 70, 10..180, 1) { page == Page.Fov && splitFov }
7877
private var rightFovAnchorDistance by setting("Right Anchor Distance", 0.5f, 0.0f..1.0f, 0.01f, "The distance to anchor the right FOV transformation from") { page == Page.Fov && splitFov }
7978

79+
private val enableHand by setting("Hand", false, "Enables settings for the players hand") { page == Page.Hand }
8080
private val handXScale by setting("Hand X Scale", 1.0f, -1.0f..1.0f, 0.025f) { page == Page.Hand }
8181
private val handYScale by setting("Hand Y Scale", 1.0f, -1.0f..1.0f, 0.025f) { page == Page.Hand }
8282
private val handZScale by setting("Hand Z Scale", 1.0f, -1.0f..1.0f, 0.025f) { page == Page.Hand }
@@ -126,7 +126,7 @@ object ViewModel : Module(
126126
}
127127

128128
val emptyHand = itemStack.isEmpty
129-
if (ignoreHand && emptyHand) return
129+
if (!enableHand) return
130130

131131
applyItemFov(matrices, side, emptyHand)
132132
scale(side, matrices, emptyHand)

0 commit comments

Comments
 (0)