From 03928d5840fcb7ee3a4192ce1d09ccfbd9a1c8a3 Mon Sep 17 00:00:00 2001 From: Matyrobbrt <65940752+Matyrobbrt@users.noreply.github.com> Date: Wed, 23 Oct 2024 11:09:25 +0300 Subject: [PATCH] Fix `InputEvent$Key` not being fired (#1614) --- patches/net/minecraft/client/KeyboardHandler.java.patch | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/patches/net/minecraft/client/KeyboardHandler.java.patch b/patches/net/minecraft/client/KeyboardHandler.java.patch index 2470d92b3a..ca87c0a864 100644 --- a/patches/net/minecraft/client/KeyboardHandler.java.patch +++ b/patches/net/minecraft/client/KeyboardHandler.java.patch @@ -23,6 +23,14 @@ return; } } +@@ -507,6 +_,7 @@ + } + } + } ++ net.neoforged.neoforge.client.ClientHooks.onKeyInput(p_90895_, p_90896_, p_90897_, p_90898_); + } + } + @@ -516,10 +_,20 @@ if (screen != null && this.minecraft.getOverlay() == null) { try {