Fix brewing stand not consuming items

Fixes #4225
Negation in commit fdd951f1f1 is faulty.
This commit is contained in:
Ulrich Fink 2020-07-21 22:49:32 +02:00 committed by GitHub
parent f6c7049cac
commit 16d7b51497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}