Skip glass bottles as well

Fixes #1859
This commit is contained in:
TfT_02 2014-02-15 11:18:11 +01:00
parent 254f3b5ac9
commit b3a6c32ef6

View File

@ -103,7 +103,7 @@ public final class AlchemyPotionBrewer {
for (int i = 0; i < 3; i++) {
ItemStack item = inventory.getItem(i).clone();
if (isEmpty(item) || !PotionConfig.getInstance().isValidPotion(item)) {
if (isEmpty(item) || item.getType() == Material.GLASS_BOTTLE || !PotionConfig.getInstance().isValidPotion(item)) {
continue;
}