diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt index 0931826b3b20..793de11ef176 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt @@ -37,7 +37,13 @@ object GardenCustomKeybinds { @JvmStatic fun isKeyDown(keyBinding: KeyBinding, cir: CallbackInfoReturnable) { if (!isActive()) return - val override = map[keyBinding] ?: return + val override = map[keyBinding] ?: run { + if (map.containsValue(keyBinding.keyCode)) { + cir.returnValue = false + } + return + } + cir.returnValue = override.isKeyHeld() }