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