summaryrefslogtreecommitdiffstats
path: root/nms-patches/TileEntityBrewingStand.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/TileEntityBrewingStand.patch')
-rw-r--r--nms-patches/TileEntityBrewingStand.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/TileEntityBrewingStand.patch b/nms-patches/TileEntityBrewingStand.patch
index 1cb11da0..fa5a2ab8 100644
--- a/nms-patches/TileEntityBrewingStand.patch
+++ b/nms-patches/TileEntityBrewingStand.patch
@@ -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
+ }
+ }
+