Merge pull request #4226 from Durburz/master

Fix brewing stand not consuming items
This commit is contained in:
Robert Alan Chapton 2020-07-22 13:39:41 -07:00 committed by GitHub
commit efcb2d0c14
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(); 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);
} }