removed unneeded comment
This commit is contained in:
parent
eb53a45973
commit
fc7189f734
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Reference in a new issue