We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6e5638 commit 782815bCopy full SHA for 782815b
common/src/main/kotlin/com/lambda/module/Module.kt
@@ -22,6 +22,7 @@ import com.lambda.sound.LambdaSound
22
import com.lambda.sound.SoundManager.playSoundRandomly
23
import com.lambda.util.KeyCode
24
import com.lambda.util.Nameable
25
+import net.minecraft.client.gui.screen.ChatScreen
26
27
/**
28
* A [Module] is a feature or tool for the utility mod.
@@ -115,6 +116,7 @@ abstract class Module(
115
116
if (mc.options.commandKey.isPressed) return@listener
117
if (keybind == KeyCode.UNBOUND) return@listener
118
if (event.translated != keybind) return@listener
119
+ if (mc.currentScreen is ChatScreen) return@listener
120
121
if (mc.currentScreen == null || this@Module is ClickGui) toggle()
122
}
0 commit comments