MC-111753, SPIGOT-2971: Brewing stand not reloading

This commit is contained in:
md_5 2017-02-21 20:47:40 +11:00
parent 64277ec9bc
commit cb61ac0404

View file

@ -112,3 +112,12 @@
}
public boolean a(EntityHuman entityhuman) {
@@ -227,7 +286,7 @@
} else {
Item item = itemstack.getItem();
- return i == 4 ? item == Items.BLAZE_POWDER : (item == Items.POTION || item == Items.SPLASH_POTION || item == Items.LINGERING_POTION || item == Items.GLASS_BOTTLE) && this.getItem(i) == ItemStack.a;
+ return i == 4 ? item == Items.BLAZE_POWDER : (item == Items.POTION || item == Items.SPLASH_POTION || item == Items.LINGERING_POTION || item == Items.GLASS_BOTTLE) && this.getItem(i).isEmpty(); // CraftBukkit - MC-111753
}
}