MC-111753, SPIGOT-2971: Brewing stand not reloading
This commit is contained in:
parent
64277ec9bc
commit
cb61ac0404
@ -112,3 +112,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean a(EntityHuman entityhuman) {
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user