Skip to content

Commit 1229c0b

Browse files
committed
AntiDisconnect: Use formatter in the button presses setting
We now show "$x presses" by using the newly added setting formatter
1 parent 8f4ccbe commit 1229c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/lambda/client/module/modules/misc/AntiDisconnect.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ object AntiDisconnect : Module(
88
description = "Prevents you from accidently disconnecting",
99
category = Category.MISC
1010
) {
11-
val presses by setting("Button Presses", 3, 1..20, 1)
11+
val presses by setting("Button Presses", 3, 1..20, 1, formatter = {i -> "$i presses"})
1212
}

0 commit comments

Comments
 (0)