Bukkit/CraftBukkit — pull request #560 by amaranth (2011-11-29 12:52:08+00:00)
Title: fire event for ender pearl damage and fix exploit

Fire an EntityDamageEvent when throwing an ender pearl so plugins can block
the damage they cause. Also only teleport and do damage if the thrower is online
to avoid an item duplication exploit.