fix(NEIController): Skip MMB on slot click to avoid unecessary conflict with itemstack using it (#1038)

Co-authored-by: Alex Vermette <[email protected]>
This commit is contained in:
AlexandAlex Vermette authored and GitHub committed 2026-09-17 09:16:46 +03:00
1 parent 9e87f2b158
commit ab8d5f275f
1 file changed
+1 -1
@@ -169,7 +169,7 @@ public class NEIController implements IContainerSlotClickHandler, IContainerInpu
if (GuiInfo.hasCustomSlots(gui)) return false;
if (NEIClientUtils.shiftKey()) {
if (NEIClientUtils.shiftKey() && button != 2) { // MMB is used by other mods when an itemstack is picked.
// fix small mouse movement while clicking causing slotIndex to be -999
if (slotIndex == -999) {
final Point mouse = GuiDraw.getMousePosition();