Skip to content

Commit d22b73d

Browse files
committed
Fix default values and visibility
1 parent ebe0bd4 commit d22b73d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

common/src/main/kotlin/com/lambda/config/groups/InteractionSettings.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ class InteractionSettings(
5757
// Point scan
5858
override val strictRayCast by c.setting("Strict Raycast", true, "Whether to include the environment to the ray cast context", vis)
5959
override val checkSideVisibility by c.setting("Visibility Check", true, "Whether to check if an AABB side is visible", vis)
60-
override val resolution by c.setting("Resolution", 8, 1..20, 1, "The amount of grid divisions per surface of the hit box", "", vis)
61-
override val pointSelection by c.setting("Point Selection", PointSelection.ByRotation, "The way to select the best point", vis)
60+
override val resolution by c.setting("Resolution", 5, 1..20, 1, "The amount of grid divisions per surface of the hit box", "", vis)
61+
override val pointSelection by c.setting("Point Selection", PointSelection.Optimum, "The way to select the best point", vis)
6262

6363
// Swing
6464
override val swingHand by c.setting("Swing Hand", true, "Whether to swing hand on interactions", vis)

common/src/main/kotlin/com/lambda/module/modules/player/HighwayTools.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ object HighwayTools : Module(
6565
private val distance by setting("Distance", -1, -1..1000000, 1, description = "Distance to build the highway/tunnel (negative for infinite)") { page == Page.Structure }
6666
private val sliceSize by setting("Slice Size", 3, 1..5, 1, description = "Number of slices to build at once") { page == Page.Structure }
6767

68-
val build = BuildSettings(this) { page == Page.Build }
69-
val rotation = RotationSettings(this) { page == Page.Rotation }
70-
val interact = InteractionSettings(this, InteractionMask.BOTH) { page == Page.Interaction }
71-
val inventory = InventorySettings(this) { page == Page.Inventory }
68+
private val build = BuildSettings(this) { page == Page.Build }
69+
private val rotation = RotationSettings(this) { page == Page.Rotation }
70+
private val interact = InteractionSettings(this, InteractionMask.BOTH) { page == Page.Interaction }
71+
private val inventory = InventorySettings(this) { page == Page.Inventory }
7272

7373
private var octant = EightWayDirection.NORTH
7474
private var distanceMoved = 0

0 commit comments

Comments
 (0)