mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +01:00
Schedule an Alchemy check after using a hotkey to add ingredients
Fixes #1834
This commit is contained in:
parent
a2e32179bb
commit
4486261413
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user