mirror of
https://github.com/kami-blue/client
synced 2025-02-03 22:11:49 +00:00
[fix] Slight bug fix in AutoMend
Signed-off-by: Dominika <sokolov.dominika@gmail.com>
This commit is contained in:
parent
21a75f65fd
commit
ca8a06d73c
@ -30,6 +30,10 @@ object AutoMend : Module() {
|
||||
isGuiOpened = it.screen != null
|
||||
}
|
||||
|
||||
listener<GuiScreenEvent.Closed> {
|
||||
isGuiOpened = false
|
||||
}
|
||||
|
||||
listener<SafeTickEvent> {
|
||||
if (isGuiOpened && !gui.value) return@listener
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user