13
0
geforkt von Mirrors/Paper

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

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2017-02-21 20:47:40 +11:00
Ursprung 1f9370d293
Commit 0e4ffd62e1

Datei anzeigen

@ -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
}
}