Call BlockGrowEvent for Cocoa plants. Fixes BUKKIT-2525

Dieser Commit ist enthalten in:
QuarterAnimal 2013-01-02 13:13:34 -05:00 committet von feildmaster
Ursprung d74cf36f1c
Commit 6e438ccb32

Datei anzeigen

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