aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2022-10-07 06:06:27 +1100
committerGitHub <noreply@github.com>2022-10-06 15:06:27 -0400
commitd823d2ab08cbc41fac67f06a7d38009627d4497e (patch)
tree6ed2b2ac9f296a921b5f295ff5bf23751478c950 /src
parent116b8257be57eb1599127355fd9b60d87b087876 (diff)
downloadNotEnoughUpdates-d823d2ab08cbc41fac67f06a7d38009627d4497e.tar.gz
NotEnoughUpdates-d823d2ab08cbc41fac67f06a7d38009627d4497e.tar.bz2
NotEnoughUpdates-d823d2ab08cbc41fac67f06a7d38009627d4497e.zip
Fix custom trade menu (#345)
* i love the hypixel network * println("$slot.slotNumber ${slot.stack.displayName}"
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/TradeWindow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/TradeWindow.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/TradeWindow.java
index 8a0353d3..16b5015b 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/TradeWindow.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/TradeWindow.java
@@ -1078,7 +1078,7 @@ public class TradeWindow {
!SlotLocking.getInstance().isSlotLocked(slot)) {
Minecraft.getMinecraft().playerController.windowClick(
chest.inventorySlots.windowId,
- slot.slotNumber, 2, 3, Minecraft.getMinecraft().thePlayer
+ slot.slotNumber, 0, 0, Minecraft.getMinecraft().thePlayer
);
}
return;