Removed deprecated code

This commit is contained in:
t3hk0d3 2011-11-01 10:15:57 +03:00
parent 047c167ee1
commit 5402180be4

View File

@ -61,16 +61,6 @@ public class EntityListener extends ModifyworldListener {
return;
}
}
if (edbe instanceof EntityDamageByProjectileEvent && edbe.getDamager() == null) { // Prevent damage taken from dipenser projectile
EntityDamageByProjectileEvent edpe = (EntityDamageByProjectileEvent) edbe;
if (!canMessWithEntity(player, "modifyworld.damage.take.", edpe.getProjectile())) {
cancelDamageEvent(player, event);
return;
}
}
}
} else if (event.getEntity() instanceof Player) { // player are been damaged by enviroment