summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockCoralPlant.patch
diff options
context:
space:
mode:
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);
}