Bukkit/CraftBukkit — pull request #978 by QuarterAnimal (2013-01-02 18:34:03+00:00)
Title: Add BlockGrowEvent to BlockCocoa. Fixes BUKKIT-2525.

Currently, cocoa does not raise an event when it grows. This modification adds BlockCocoa to CraftBukkit and replaces the World.setData() with CraftEventFactory.handleBlockGrowEvent(), which raises the appropriate event and allows cancellation.