[fix] InventoryMove pauses AutoWalk in GUI

This commit is contained in:
Xiaro 2021-01-19 13:42:36 -05:00
parent 7cede5af7f
commit 26a992d013
No known key found for this signature in database
GPG Key ID: 996D265D6E155377
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ internal object InventoryMove : Module(
private var hasSent = false
init {
safeListener<InputUpdateEvent> {
safeListener<InputUpdateEvent>(9999) {
if (it.movementInput !is MovementInputFromOptions || isInvalidGui(mc.currentScreen)) return@safeListener
if (Keyboard.isKeyDown(Keyboard.KEY_LEFT)) {