mirror of
https://github.com/ViaVersion/ViaForge.git
synced 2024-11-27 12:55:40 +01:00
Escape now returning to parent gui instead of menu (#68)
This commit is contained in:
parent
b3e345fb6c
commit
4f2e82ede4
@ -55,6 +55,12 @@ public class GuiProtocolSelector extends GuiScreen {
|
||||
mc.displayGuiScreen(parent);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void keyTyped(char p_keyTyped_1_, int p_keyTyped_2_) throws IOException {
|
||||
if (p_keyTyped_2_ == 1) //esc key
|
||||
this.mc.displayGuiScreen(parent);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleMouseInput() throws IOException {
|
||||
list.handleMouseInput();
|
||||
|
Loading…
Reference in New Issue
Block a user