Merge branch 'master' of github.com:mcMMO-Dev/mcMMO

This commit is contained in:
nossr50 2020-07-23 20:59:56 -07:00
commit 3ed0bd6be4

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