mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Merge branch 'master' of github.com:mcMMO-Dev/mcMMO
This commit is contained in:
commit
3ed0bd6be4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user