@EventHandler
  public void onPlayerThrowSnowball(ProjectileHitEvent event){

    Projectile proj = event.getEntity();
    // IF PROJECTILE IS SNOWBALL
    if(proj.getShooter() instanceof Player && proj.getType().equals(EntityType.SNOWBALL)){
      Player player = (Player) proj.getShooter();
      if (SimpleExtras.Snowball_Grenade.containsKey(player)) {			

        Location loc = proj.getLocation();

        if (SimpleExtras.Snowball_Grenade.get(player) == false) {

          loc.getWorld().createExplosion(loc, 4); // Create typical TNT detonation.

        } else {

          loc.setPitch(0);
          loc.setYaw(0);          
          plugin.Blast_Mode.put(loc, 0);
          loc.getWorld().createExplosion(loc, 4); // Create explosion which does no damage
        }
      }
      // IF PROJECTILE IS ARROW
    } else if(proj.getShooter() instanceof Player && proj.getType().equals(EntityType.ARROW)){
      Player player = (Player) proj.getShooter();
      if (SimpleExtras.Arrow_Grenade.containsKey(player)) {      

        Location loc = proj.getLocation();

        if (SimpleExtras.Arrow_Grenade.get(player) == false) {

          loc.getWorld().createExplosion(loc, 4); // Create typical TNT detonation.

        } else {

          loc.setPitch(0);
          loc.setYaw(0);          
          plugin.Blast_Mode.put(loc, 0);
          loc.getWorld().createExplosion(loc, 4); // Create explosion which does no damage
        }
      }
    }
  }