From 4486261413923e160268a0c0e35abcab46d5965f Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Fri, 7 Feb 2014 13:39:24 +0100 Subject: [PATCH] Schedule an Alchemy check after using a hotkey to add ingredients Fixes #1834 --- .../gmail/nossr50/skills/alchemy/AlchemyPotionBrewer.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/skills/alchemy/AlchemyPotionBrewer.java b/src/main/java/com/gmail/nossr50/skills/alchemy/AlchemyPotionBrewer.java index 322f68016..d41ac41d1 100644 --- a/src/main/java/com/gmail/nossr50/skills/alchemy/AlchemyPotionBrewer.java +++ b/src/main/java/com/gmail/nossr50/skills/alchemy/AlchemyPotionBrewer.java @@ -230,6 +230,7 @@ public final class AlchemyPotionBrewer { return; } + if (event.isShiftClick()) { if (event.getSlotType() == SlotType.FUEL) { scheduleCheck(player, brewingStand); @@ -256,6 +257,10 @@ public final class AlchemyPotionBrewer { } else if (event.getRawSlot() == INGREDIENT_SLOT) { if (isEmpty(cursor) && isEmpty(clicked)) { + if (event.getClick() == ClickType.NUMBER_KEY) { + scheduleCheck(player, brewingStand); + return; + } return; } else if (isEmpty(cursor)) {