mirror of https://github.com/kami-blue/client
[fix] InventoryMove pauses AutoWalk in GUI
This commit is contained in:
parent
7cede5af7f
commit
26a992d013
|
@ -24,7 +24,7 @@ internal object InventoryMove : Module(
|
||||||
private var hasSent = false
|
private var hasSent = false
|
||||||
|
|
||||||
init {
|
init {
|
||||||
safeListener<InputUpdateEvent> {
|
safeListener<InputUpdateEvent>(9999) {
|
||||||
if (it.movementInput !is MovementInputFromOptions || isInvalidGui(mc.currentScreen)) return@safeListener
|
if (it.movementInput !is MovementInputFromOptions || isInvalidGui(mc.currentScreen)) return@safeListener
|
||||||
|
|
||||||
if (Keyboard.isKeyDown(Keyboard.KEY_LEFT)) {
|
if (Keyboard.isKeyDown(Keyboard.KEY_LEFT)) {
|
||||||
|
|
Loading…
Reference in New Issue