Skip to content

Commit

Permalink
Merge #620 (F3 keybind fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Dec 13, 2023
2 parents 2603857 + 40d5991 commit 125ebcd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/net/wurstclient/keybinds/KeybindProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ public void onKeyPress(KeyPressEvent event)
if(event.getAction() != GLFW.GLFW_PRESS)
return;

if(InputUtil.isKeyPressed(WurstClient.MC.getWindow().getHandle(),
GLFW.GLFW_KEY_F3))
return;

Screen screen = WurstClient.MC.currentScreen;
if(screen != null && !(screen instanceof ClickGuiScreen))
return;
Expand Down

0 comments on commit 125ebcd

Please sign in to comment.