summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockCoralPlant.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-12-06 10:00:00 +1100
committermd_5 <git@md-5.net>2018-12-06 10:00:00 +1100
commitaa36c8417bda9bdd4812c6094895677654cff83d (patch)
treef28adbc34ebef8ef5816c95597927b4c72ba2797 /nms-patches/BlockCoralPlant.patch
parent20fc5bea2c51de8d5239b68d83e878896b8ff505 (diff)
downloadcraftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar
craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar.gz
craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar.lz
craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.tar.xz
craftbukkit-aa36c8417bda9bdd4812c6094895677654cff83d.zip
Mappings Update
Diffstat (limited to 'nms-patches/BlockCoralPlant.patch')
-rw-r--r--nms-patches/BlockCoralPlant.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/BlockCoralPlant.patch b/nms-patches/BlockCoralPlant.patch
index dc5e8cdb..65177b83 100644
--- a/nms-patches/BlockCoralPlant.patch
+++ b/nms-patches/BlockCoralPlant.patch
@@ -5,10 +5,10 @@
public void a(IBlockData iblockdata, World world, BlockPosition blockposition, Random random) {
if (!b_(iblockdata, world, blockposition)) {
+ // CraftBukkit start
-+ if (org.bukkit.craftbukkit.event.CraftEventFactory.callBlockFadeEvent(world, blockposition, this.c.getBlockData().set(BlockCoralPlant.b, Boolean.valueOf(false))).isCancelled()) {
++ if (org.bukkit.craftbukkit.event.CraftEventFactory.callBlockFadeEvent(world, blockposition, this.c.getBlockData().set(BlockCoralPlant.b, false)).isCancelled()) {
+ return;
+ }
+ // CraftBukkit end
- world.setTypeAndData(blockposition, (IBlockData) this.c.getBlockData().set(BlockCoralPlant.b, Boolean.valueOf(false)), 2);
+ world.setTypeAndData(blockposition, (IBlockData) this.c.getBlockData().set(BlockCoralPlant.b, false), 2);
}