From 701b06494ddf4a807788f159fe5aa7e63dff7a42 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 3 Jun 2017 17:39:03 +1000 Subject: SPIGOT-3286: Call BlockFormEvent for Concrete Powder -> Concrete --- nms-patches/BlockFluids.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nms-patches/BlockFluids.patch') diff --git a/nms-patches/BlockFluids.patch b/nms-patches/BlockFluids.patch index 8708adc5..cccec394 100644 --- a/nms-patches/BlockFluids.patch +++ b/nms-patches/BlockFluids.patch @@ -7,7 +7,7 @@ - world.setTypeUpdate(blockposition, Blocks.OBSIDIAN.getBlockData()); - this.fizz(world, blockposition); + // CraftBukkit start -+ if (org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFormEvent(world, blockposition, Blocks.OBSIDIAN, null)) { ++ if (org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFormEvent(world, blockposition, Blocks.OBSIDIAN.getBlockData(), null)) { + this.fizz(world, blockposition); + } + // CraftBukkit end @@ -18,7 +18,7 @@ - world.setTypeUpdate(blockposition, Blocks.COBBLESTONE.getBlockData()); - this.fizz(world, blockposition); + // CraftBukkit start -+ if (org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFormEvent(world, blockposition, Blocks.COBBLESTONE, null)) { ++ if (org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFormEvent(world, blockposition, Blocks.COBBLESTONE.getBlockData(), null)) { + this.fizz(world, blockposition); + } + // CraftBukkit end -- cgit v1.2.3