aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/torui/coflsky/gui/bingui
diff options
context:
space:
mode:
authorMatthias Luger <malua007@live.de>2023-11-02 17:41:41 +0100
committerMatthias Luger <malua007@live.de>2023-11-02 17:41:41 +0100
commitbef2ffc97f9f308beac5685c28fcf7283d2d4cfb (patch)
treeac0f6f4ced7346348cef1126d654ec8336ead7bc /src/main/java/de/torui/coflsky/gui/bingui
parent47ccf8c71f55c2223c535188ed6113f4a79aea2f (diff)
downloadCOFL-bef2ffc97f9f308beac5685c28fcf7283d2d4cfb.tar.gz
COFL-bef2ffc97f9f308beac5685c28fcf7283d2d4cfb.tar.bz2
COFL-bef2ffc97f9f308beac5685c28fcf7283d2d4cfb.zip
use middle click for button remapping
Diffstat (limited to 'src/main/java/de/torui/coflsky/gui/bingui')
-rw-r--r--src/main/java/de/torui/coflsky/gui/bingui/BinGuiCurrent.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/torui/coflsky/gui/bingui/BinGuiCurrent.java b/src/main/java/de/torui/coflsky/gui/bingui/BinGuiCurrent.java
index e742ba0..d860fe3 100644
--- a/src/main/java/de/torui/coflsky/gui/bingui/BinGuiCurrent.java
+++ b/src/main/java/de/torui/coflsky/gui/bingui/BinGuiCurrent.java
@@ -146,12 +146,12 @@ public class BinGuiCurrent extends GuiChest {
Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText("[§1C§6oflnet§f]§7: §cBed is not purchasable yet."));
buyState = BuyState.INIT;
} else {
- mc.playerController.windowClick(this.chestGui.inventorySlots.windowId, 31, 0, 0, mc.thePlayer);
+ mc.playerController.windowClick(this.chestGui.inventorySlots.windowId, 31, 2, 3, mc.thePlayer);
wasMouseDown = false;
buyState = BuyState.CONFIRM;
}
} else if (guiName.equalsIgnoreCase("Confirm Purchase") && buyState == BuyState.BUYING) {
- mc.playerController.windowClick(this.chestGui.inventorySlots.windowId, 11, 0, 0, mc.thePlayer);
+ mc.playerController.windowClick(this.chestGui.inventorySlots.windowId, 11, 2, 3, mc.thePlayer);
resetGUI();
}
}