diff options
author | QuarterAnimal <quarteranimal@gmail.com> | 2013-01-02 13:13:34 -0500 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2013-01-24 19:57:52 -0600 |
commit | 6e438ccb320ed4c3ae5b5f051f3b5580a51c823a (patch) | |
tree | 95676f0253e7958cbe8c6efaf737187700bd1a66 /src/main/java/net/minecraft | |
parent | d74cf36f1c94ea9ba8088b7e3bfe1276362bb5f1 (diff) | |
download | craftbukkit-6e438ccb320ed4c3ae5b5f051f3b5580a51c823a.tar craftbukkit-6e438ccb320ed4c3ae5b5f051f3b5580a51c823a.tar.gz craftbukkit-6e438ccb320ed4c3ae5b5f051f3b5580a51c823a.tar.lz craftbukkit-6e438ccb320ed4c3ae5b5f051f3b5580a51c823a.tar.xz craftbukkit-6e438ccb320ed4c3ae5b5f051f3b5580a51c823a.zip |
Call BlockGrowEvent for Cocoa plants. Fixes BUKKIT-2525
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockCocoa.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockCocoa.java b/src/main/java/net/minecraft/server/BlockCocoa.java index 147a6087..ae97d4ad 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 } } } |