comment cleanup 2, test commit

This commit is contained in:
Sen 2025-03-11 01:10:34 +01:00
parent c528157a0e
commit 6c59ca5d73

View file

@ -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;