aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/gui/widget/REISlot.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/shedaniel/gui/widget/REISlot.java')
-rwxr-xr-xsrc/main/java/me/shedaniel/gui/widget/REISlot.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/gui/widget/REISlot.java b/src/main/java/me/shedaniel/gui/widget/REISlot.java
index 73faa85c4..d1a41ac59 100755
--- a/src/main/java/me/shedaniel/gui/widget/REISlot.java
+++ b/src/main/java/me/shedaniel/gui/widget/REISlot.java
@@ -127,7 +127,10 @@ public class REISlot extends Control {
return true;
}
} else {
- REIRenderHelper.recipeKeybind();
+ if (button == 0)
+ return REIRenderHelper.recipeKeyBind();
+ else if (button == 1)
+ return REIRenderHelper.useKeyBind();
}
return false;
}