1
0
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:
Dominika 2020-11-24 10:08:47 -05:00
parent 21a75f65fd
commit ca8a06d73c
No known key found for this signature in database
GPG Key ID: B4A5A6DCA70F861F

View File

@ -30,6 +30,10 @@ object AutoMend : Module() {
isGuiOpened = it.screen != null
}
listener<GuiScreenEvent.Closed> {
isGuiOpened = false
}
listener<SafeTickEvent> {
if (isGuiOpened && !gui.value) return@listener