From 6e438ccb320ed4c3ae5b5f051f3b5580a51c823a Mon Sep 17 00:00:00 2001 From: QuarterAnimal Date: Wed, 2 Jan 2013 13:13:34 -0500 Subject: [PATCH] Call BlockGrowEvent for Cocoa plants. Fixes BUKKIT-2525 --- src/main/java/net/minecraft/server/BlockCocoa.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/BlockCocoa.java b/src/main/java/net/minecraft/server/BlockCocoa.java index 147a608780..ae97d4ad8b 100644 --- a/src/main/java/net/minecraft/server/BlockCocoa.java +++ b/src/main/java/net/minecraft/server/BlockCocoa.java @@ -19,7 +19,7 @@ public class BlockCocoa extends BlockDirectional { if (i1 < 2) { ++i1; - world.setData(i, j, k, i1 << 2 | e(l)); + org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, i, j, k, this.id, i1 << 2 | e(l)); // CraftBukkit } } }