diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-01-02 23:06:23 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-01-02 23:06:23 +0800 |
| commit | 9a13eee41028b17deda6080800de9fd72ce6ea14 (patch) | |
| tree | dd342072bddc348a331fbabf1dc1ed5d980e4b3d /src/main/java/me/shedaniel/gui/ConfigGui.java | |
| parent | 29b28824cb402726ed34a778288f2454c488d388 (diff) | |
| download | RoughlyEnoughItems-9a13eee41028b17deda6080800de9fd72ce6ea14.tar.gz RoughlyEnoughItems-9a13eee41028b17deda6080800de9fd72ce6ea14.tar.bz2 RoughlyEnoughItems-9a13eee41028b17deda6080800de9fd72ce6ea14.zip | |
v1.4 Bug Fixes
Diffstat (limited to 'src/main/java/me/shedaniel/gui/ConfigGui.java')
| -rw-r--r-- | src/main/java/me/shedaniel/gui/ConfigGui.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/gui/ConfigGui.java b/src/main/java/me/shedaniel/gui/ConfigGui.java index c7dfad3ab..401ac103a 100644 --- a/src/main/java/me/shedaniel/gui/ConfigGui.java +++ b/src/main/java/me/shedaniel/gui/ConfigGui.java @@ -87,7 +87,7 @@ public class ConfigGui extends Gui { @Override public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_) { - if (p_keyPressed_1_ == 256 && this.canClose()) { + if (p_keyPressed_1_ == 256 && this.doesEscapeKeyClose()) { this.close(); if (parent != null) MinecraftClient.getInstance().openGui(parent); |
