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.
This commit is contained in:
parent
ad03581fbe
commit
8c38f6c1d3
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
this.func_184117_aA();
|
||||
@@ -2166,6 +2189,8 @@
|
||||
{
|
||||
while (Mouse.next())
|
||||
|
|
Loading…
Reference in a new issue