mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 16:58:34 +01:00
Removed ability to close booklet with inventory key - It made John Cena unhappy
This commit is contained in:
parent
ef20b12d66
commit
4340881896
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ public class GuiBooklet extends GuiScreen{
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void keyTyped(char theChar, int key){
|
public void keyTyped(char theChar, int key){
|
||||||
if(key == Keyboard.KEY_ESCAPE || (!this.searchField.isFocused() && key == Minecraft.getMinecraft().gameSettings.keyBindInventory.getKeyCode())){
|
if(key == Keyboard.KEY_ESCAPE){
|
||||||
if(this.parentScreen != null){
|
if(this.parentScreen != null){
|
||||||
this.mc.displayGuiScreen(this.parentScreen);
|
this.mc.displayGuiScreen(this.parentScreen);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue