diff --git a/java/src/game/Game.java b/java/src/game/Game.java index a0baf24..21322b9 100755 --- a/java/src/game/Game.java +++ b/java/src/game/Game.java @@ -471,43 +471,19 @@ public class Game implements IThreadListener { public void inputGui() { if (this.open != null) { - // SKC.info("p" + SKC.isBindPressed(SKC.KEY_MENU) + "d" + SKC.isBindDown(SKC.KEY_MENU)); -// if (SKC.isBindPressed(SKC.KEY_MENU) || (!(this.open instanceof GuiEmpty) && SKC.isBindPressed(SKC.KEY_INVENTORY))) -// { -// -// } - // else if(SKC.isBindPressed(SKC.KEY_MENU)) { // && this.open.canClose()) { - // this.displayGuiScreen(null); -// if(this.open == null) -// this.setIngameFocus(); - // } - -// else { // if(this.open != null) { if(Bind.THROW.isPressed()) this.open.dropItem(); for(int z = 0; z < this.keyBindsHotbar.length; z++) { if(this.keyBindsHotbar[z].isPressed()) this.open.useHotbar(z); } -// } this.primary = this.secondary = this.tertiary = this.quarternary = false; this.zooming = false; } - else // if (this.open == null) + else { -// if (SKC.isBindPressed(SKC.KEY_MENU)) -// { - -// this.displayInGameMenu(); -// } - -// if (this.keyBindHideGui.isPressed()) -// { -// this.hideGUI = !this.hideGUI; -// } - if (Bind.PERSPECTIVE.isPressed()) { ++this.thirdPersonView;