Skip to content

Commit

Permalink
키 설정에서 바인딩이 제대로 완료되지 않는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sokcuri committed Aug 28, 2019
1 parent 3b834e4 commit 6c57270
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/kr/neko/sokcuri/naraechat/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ public void onSpecialKeyPressed(GuiScreenEvent.KeyboardKeyPressedEvent.Pre event
}

Minecraft mc = Minecraft.getInstance();
((INestedGuiEventHandler)mc.currentScreen).keyPressed(keyCode, scanCode, glfwModifier);
mc.currentScreen.keyPressed(keyCode, scanCode, glfwModifier);
mc.currentScreen.keyReleased(keyCode, scanCode, glfwModifier);
}

KeyModifier modifier = KeyModifier.getActiveModifier();
Expand Down

0 comments on commit 6c57270

Please sign in to comment.