From 16d7b51497334f5a263f494682c7f05ebab429aa Mon Sep 17 00:00:00 2001 From: Ulrich Fink Date: Tue, 21 Jul 2020 22:49:32 +0200 Subject: [PATCH] Fix brewing stand not consuming items Fixes #4225 Negation in commit fdd951f1f1890d4bcb62fb6d44fd576df63ad8f is faulty. --- .../com/gmail/nossr50/skills/alchemy/AlchemyPotionBrewer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/skills/alchemy/AlchemyPotionBrewer.java b/src/main/java/com/gmail/nossr50/skills/alchemy/AlchemyPotionBrewer.java index 30f93ebd6..f42584b25 100644 --- a/src/main/java/com/gmail/nossr50/skills/alchemy/AlchemyPotionBrewer.java +++ b/src/main/java/com/gmail/nossr50/skills/alchemy/AlchemyPotionBrewer.java @@ -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); }