Bukkit/CraftBukkit — pull request #942 by AlphaBlend (2012-11-30 16:28:27+00:00)
Title: Make VehicleCreateEvent cancellable

Previously, this was impossible, because the event was fired in the constructor for EntityBoat and EntityMinecart. So, we call lthe event where the entities are created, allowing plugins to determine whether or not they can spawn. This includes being placed by a player, being dispensed, and being spawned in the world.

Bukkit-bleeding commit that adds the cancellation here: https://github.com/Bukkit/Bukkit/pull/725