2
0
Эх сурвалжийг харах

Merge pull request #4226 from Durburz/master

Fix brewing stand not consuming items
Robert Alan Chapton 5 жил өмнө
parent
commit
efcb2d0c14

+ 1 - 1
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);
             }