mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Fix brewing stand not consuming items
Fixes #4225
Negation in commit fdd951f1f1
is faulty.
This commit is contained in:
parent
f6c7049cac
commit
16d7b51497
@ -61,7 +61,7 @@ public final class AlchemyPotionBrewer {
|
|||||||
|
|
||||||
ItemStack ingredient = inventory.getIngredient().clone();
|
ItemStack ingredient = inventory.getIngredient().clone();
|
||||||
|
|
||||||
if (isEmpty(ingredient) && !isValidIngredient(player, ingredient)) {
|
if (!isEmpty(ingredient) && isValidIngredient(player, ingredient)) {
|
||||||
if (ingredient.getAmount() <= 1) {
|
if (ingredient.getAmount() <= 1) {
|
||||||
inventory.setIngredient(null);
|
inventory.setIngredient(null);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user