File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
common/src/main/kotlin/com/lambda/module Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,8 @@ import com.lambda.event.listener.SafeListener.Companion.listener
1515import com.lambda.event.listener.UnsafeListener
1616import com.lambda.gui.impl.clickgui.LambdaClickGui
1717import com.lambda.module.tag.ModuleTag
18- import com.lambda.util.Communication.info
1918import com.lambda.util.KeyCode
2019import com.lambda.util.Nameable
21- import org.lwjgl.glfw.GLFW
2220
2321/* *
2422 * A [Module] is a feature or tool for the utility mod.
@@ -110,6 +108,8 @@ abstract class Module(
110108
111109 init {
112110 listener<KeyPressEvent >(alwaysListen = true ) { event ->
111+ if (keybind == KeyCode .UNBOUND ) return @listener
112+
113113 val screen = mc.currentScreen
114114 if (event.translated == keybind
115115 && ! mc.options.commandKey.isPressed
You can’t perform that action at this time.
0 commit comments