cleanup of projectiles

This commit is contained in:
Andrew Ardill
2011-11-29 21:30:37 +11:00
parent a1ad0c0103
commit 9455ff1777
5 changed files with 1 additions and 13 deletions

View File

@@ -39,7 +39,6 @@ public class EntitySnowball extends EntityProjectile {
org.bukkit.entity.Entity damagee = movingobjectposition.entity.getBukkitEntity();
Projectile projectile = (Projectile) this.getBukkitEntity();
// TODO @see EntityArrow#162
EntityDamageByEntityEvent event = new EntityDamageByEntityEvent(projectile, damagee, EntityDamageEvent.DamageCause.PROJECTILE, b0);
this.world.getServer().getPluginManager().callEvent(event);
this.shooter = (projectile.getShooter() == null) ? null : ((CraftLivingEntity) projectile.getShooter()).getHandle();