mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
20 lines
521 B
Java
20 lines
521 B
Java
package com.hbm.inventory.gui;
|
|
|
|
import net.minecraft.client.gui.inventory.GuiContainer;
|
|
import net.minecraft.inventory.Container;
|
|
|
|
public abstract class GuiCrateBase extends GuiContainer {
|
|
|
|
public GuiCrateBase(Container container) {
|
|
super(container);
|
|
}
|
|
|
|
@Override
|
|
protected void mouseClicked(int x, int y, int button) {
|
|
boolean touchScreen = this.mc.gameSettings.touchscreen;
|
|
this.mc.gameSettings.touchscreen = false;
|
|
super.mouseClicked(x, y, button);
|
|
this.mc.gameSettings.touchscreen = touchScreen;
|
|
}
|
|
}
|