diff options
author | md_5 <git@md-5.net> | 2017-06-03 17:39:03 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-06-03 17:39:03 +1000 |
commit | 701b06494ddf4a807788f159fe5aa7e63dff7a42 (patch) | |
tree | 8600577d8bd0d3c96034f8c6846e6579f1c81e0d /nms-patches/BlockFluids.patch | |
parent | 921ba53556066ee16cb212e564ee9403fb6a73ff (diff) | |
download | craftbukkit-701b06494ddf4a807788f159fe5aa7e63dff7a42.tar craftbukkit-701b06494ddf4a807788f159fe5aa7e63dff7a42.tar.gz craftbukkit-701b06494ddf4a807788f159fe5aa7e63dff7a42.tar.lz craftbukkit-701b06494ddf4a807788f159fe5aa7e63dff7a42.tar.xz craftbukkit-701b06494ddf4a807788f159fe5aa7e63dff7a42.zip |
SPIGOT-3286: Call BlockFormEvent for Concrete Powder -> Concrete
Diffstat (limited to 'nms-patches/BlockFluids.patch')
-rw-r--r-- | nms-patches/BlockFluids.patch | 4 |
1 files changed, 2 insertions, 2 deletions
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 |