Bukkit/CraftBukkit — pull request #820 by Anxuiz (2012-07-14 04:22:38+00:00)
Title: Insert missing setLastDamageCause for the remaining instances.

In a recent commit (4d421a82ae7637440612befc947b8aa4344b7fb5) the code was changed to call setLastDamageCause explicitly in the cases where an EntityDamageEvent was created. Unfortunately, there were a few missing calls that broke any plugin that uses the damage cause for damage tracking. Commit 05a3daf39c98a187d86754fac850bf948e11098e addressed one missing call, and this commit adds the remaining (as far as I can tell).

I have not made a leaky ticket on the basis that this change is merely follows up on recent commits; I hope this is fine :)