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/EnchantmentFrostWalker.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/EnchantmentFrostWalker.patch')
-rw-r--r-- | nms-patches/EnchantmentFrostWalker.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/EnchantmentFrostWalker.patch b/nms-patches/EnchantmentFrostWalker.patch index fedf1a39..c4f9f2b8 100644 --- a/nms-patches/EnchantmentFrostWalker.patch +++ b/nms-patches/EnchantmentFrostWalker.patch @@ -16,7 +16,7 @@ - world.setTypeUpdate(blockposition_mutableblockposition1, Blocks.FROSTED_ICE.getBlockData()); - world.a(blockposition_mutableblockposition1.h(), Blocks.FROSTED_ICE, MathHelper.nextInt(entityliving.getRandom(), 60, 120)); + // CraftBukkit Start - Call EntityBlockFormEvent for Frost Walker -+ if (org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFormEvent(world, blockposition_mutableblockposition1, Blocks.FROSTED_ICE, entityliving)) { ++ if (org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFormEvent(world, blockposition_mutableblockposition1, Blocks.FROSTED_ICE.getBlockData(), entityliving)) { + world.a(blockposition_mutableblockposition1.h(), Blocks.FROSTED_ICE, MathHelper.nextInt(entityliving.getRandom(), 60, 120)); + } + // CraftBukkit End |