Call BlockGrowEvent for Cocoa plants. Fixes BUKKIT-2525

This commit is contained in:
QuarterAnimal 2013-01-02 13:13:34 -05:00 committed by feildmaster
parent d74cf36f1c
commit 6e438ccb32

View file

@ -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
}
}
}