Skip to content

Commit 5fd4560

Browse files
committed
Show unbound not -1 in command preview
1 parent 95beed1 commit 5fd4560

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

common/src/main/kotlin/com/lambda/util/Communication.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,12 @@ object Communication {
151151
literal("\n")
152152
literal("Keybind: ")
153153
color(GuiSettings.primaryColor) {
154-
literal(module.keybind.keyCode.toString())
154+
if (module.keybind.keyCode != -1) {
155+
literal(module.keybind.keyCode.toString())
156+
} else {
157+
literal("Unbound")
158+
}
159+
155160
}
156161
literal("\n")
157162
literal("Default tags: ")

0 commit comments

Comments
 (0)