diff options
author | md_5 <git@md-5.net> | 2017-02-21 20:47:40 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-02-21 20:47:40 +1100 |
commit | cb61ac0404a52ba8c3f6ab8d92304aeeb6250846 (patch) | |
tree | 68aaa197c24de1804c9a8381dc8a38bc72a55de7 /nms-patches | |
parent | 64277ec9bc2d2586d04e12a953f6bee2505c0e19 (diff) | |
download | craftbukkit-cb61ac0404a52ba8c3f6ab8d92304aeeb6250846.tar craftbukkit-cb61ac0404a52ba8c3f6ab8d92304aeeb6250846.tar.gz craftbukkit-cb61ac0404a52ba8c3f6ab8d92304aeeb6250846.tar.lz craftbukkit-cb61ac0404a52ba8c3f6ab8d92304aeeb6250846.tar.xz craftbukkit-cb61ac0404a52ba8c3f6ab8d92304aeeb6250846.zip |
MC-111753, SPIGOT-2971: Brewing stand not reloading
Diffstat (limited to 'nms-patches')
-rw-r--r-- | nms-patches/TileEntityBrewingStand.patch | 9 |
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 + } + } + |