removed unneeded comment

This commit is contained in:
walterhiggins 2013-01-10 00:14:45 +00:00
parent eb53a45973
commit fc7189f734

View file

@ -2,9 +2,6 @@ importPackage(org.bukkit.entity);
bukkit.on("entity.ProjectileHitEvent", function(listener, event){ bukkit.on("entity.ProjectileHitEvent", function(listener, event){
var projectile = event.entity; var projectile = event.entity;
var world = projectile.world; var world = projectile.world;
//
// only want arrows shot by players to explode
//
if (projectile instanceof Arrow && projectile.shooter instanceof Player){ if (projectile instanceof Arrow && projectile.shooter instanceof Player){
projectile.remove(); projectile.remove();
world.createExplosion(projectile.location,2.5); world.createExplosion(projectile.location,2.5);