0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-20 01:12:13 +02:00

Fix TabGUI registering key presses twice

This commit is contained in:
Alexander01998 2020-02-09 21:28:40 +01:00
parent 5f3b0c0332
commit 044f898a82

View File

@ -71,6 +71,9 @@ public final class TabGui implements KeyPressListener
@Override
public void onKeyPress(KeyPressEvent event)
{
if(event.getAction() != GLFW.GLFW_PRESS)
return;
if(tabGuiOtf.isHidden())
return;