From 8c38f6c1d34d34bfcee612596f4015f46ac031cb Mon Sep 17 00:00:00 2001 From: Blay09 Date: Sun, 20 Mar 2016 00:12:08 +0100 Subject: [PATCH] Fix KeyInputEvent only being fired if Keyboard.getEventKeyState() is false. It used to be called for both key-up and key-down states prior to 1.9, so I assume Vanilla's changes to F3 behavior broke the patch. --- patches/minecraft/net/minecraft/client/Minecraft.java.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/minecraft/net/minecraft/client/Minecraft.java.patch b/patches/minecraft/net/minecraft/client/Minecraft.java.patch index d77815310..f718dfd55 100644 --- a/patches/minecraft/net/minecraft/client/Minecraft.java.patch +++ b/patches/minecraft/net/minecraft/client/Minecraft.java.patch @@ -200,14 +200,14 @@ this.field_71424_I.func_76319_b(); this.field_71423_H = func_71386_F(); } -@@ -1926,6 +1948,7 @@ - this.field_71474_y.field_181657_aC = this.field_71474_y.field_74330_P && GuiScreen.func_175283_s(); +@@ -1927,6 +1949,7 @@ } } -+ net.minecraftforge.fml.common.FMLCommonHandler.instance().fireKeyInput(); } ++ net.minecraftforge.fml.common.FMLCommonHandler.instance().fireKeyInput(); } + this.func_184117_aA(); @@ -2166,6 +2189,8 @@ { while (Mouse.next())