summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft
diff options
context:
space:
mode:
authorQuarterAnimal <quarteranimal@gmail.com>2013-01-02 13:13:34 -0500
committerfeildmaster <admin@feildmaster.com>2013-01-24 19:57:52 -0600
commit6e438ccb320ed4c3ae5b5f051f3b5580a51c823a (patch)
tree95676f0253e7958cbe8c6efaf737187700bd1a66 /src/main/java/net/minecraft
parentd74cf36f1c94ea9ba8088b7e3bfe1276362bb5f1 (diff)
downloadcraftbukkit-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.java2
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
}
}
}