remove keep mouse pos

This commit is contained in:
asdflj committed 2023-02-15 09:30:13 +08:00
1 parent c8457bb7d3
commit bfcf33975c
2 files changed
-23

No files matched your search

@@ -13,7 +13,6 @@ import com.glodblock.github.client.gui.*;
import com.glodblock.github.common.item.ItemWirelessUltraTerminal;
import com.glodblock.github.inventory.gui.GuiType;
import com.glodblock.github.util.ModAndClassUtil;
import com.glodblock.github.util.Util;
public abstract class FCBaseMEGui extends AEBaseMEGui {
@@ -36,13 +35,11 @@ public abstract class FCBaseMEGui extends AEBaseMEGui {
@Override
public void onGuiClosed() {
super.onGuiClosed();
Util.MouseHandler.saveMousePos();
}
protected void initGuiDone() {
if (drawSwitchGuiBtn) {
drawSwitchGuiBtns();
Util.MouseHandler.loadMousePos();
}
}