Program: 133801
Project: 133801
Buggy source:
/** 
 * Removes this instance of LavaFlow, cleans up any blocks that are remaining in TEMP_LAVA_BLOCKS, and cancels any remaining tasks. This version of remove will create tasks that remove each lava block with an animation.
 */
public void removeSlowly(){
  super.remove();
  for (int i=affectedBlocks.size() - 1; i > -1; i--) {
    final TempBlock tblock=affectedBlocks.get(i);
    final boolean isTempAir=TEMP_AIR_BLOCKS.values().contains(tblock);
    new BukkitRunnable(){
      @SuppressWarnings("String_Node_Str") @Override public void run(){
        tblock.revertBlock();
        if (isTempAir && tblock.getState().getType() == Material.DOUBLE_PLANT) {
          tblock.getBlock().getRelative(BlockFace.UP).setType(Material.DOUBLE_PLANT);
          tblock.getBlock().getRelative(BlockFace.UP).setData((byte)(tblock.getState().getRawData() + 8));
        }
      }
    }
.runTaskLater(ProjectKorra.plugin,(long)(i / shiftRemoveSpeed));
    if (TEMP_LAVA_BLOCKS.values().contains(tblock)) {
      affectedBlocks.remove(tblock);
      TEMP_LAVA_BLOCKS.remove(TEMP_LAVA_BLOCKS_BY_TEMPBLOCK.get(tblock));
      TEMP_LAVA_BLOCKS_BY_TEMPBLOCK.remove(tblock);
    }
    if (TEMP_LAND_BLOCKS.values().contains(tblock)) {
      affectedBlocks.remove(tblock);
      TEMP_LAND_BLOCKS.remove(tblock);
    }
    if (TEMP_AIR_BLOCKS.values().contains(tblock)) {
      affectedBlocks.remove(tblock);
      TEMP_AIR_BLOCKS.remove(tblock);
    }
  }
  for (  BukkitRunnable task : tasks) {
    task.cancel();
  }
}

Fixed version (ground truth):
/** 
 * Removes this instance of LavaFlow, cleans up any blocks that are remaining in TEMP_LAVA_BLOCKS, and cancels any remaining tasks. This version of remove will create tasks that remove each lava block with an animation.
 */
public void removeSlowly(){
  super.remove();
  for (int i=affectedBlocks.size() - 1; i > -1; i--) {
    final TempBlock tblock=affectedBlocks.get(i);
    final boolean isTempAir=TEMP_AIR_BLOCKS.values().contains(tblock);
    new BukkitRunnable(){
      @SuppressWarnings("String_Node_Str") @Override public void run(){
        tblock.revertBlock();
        if (isTempAir && tblock.getState().getType() == Material.DOUBLE_PLANT) {
          tblock.getBlock().getRelative(BlockFace.UP).setType(Material.DOUBLE_PLANT);
          tblock.getBlock().getRelative(BlockFace.UP).setData((byte)(tblock.getState().getRawData() + 8));
        }
      }
    }
.runTaskLater(ProjectKorra.plugin,(long)(i / shiftRemoveSpeed));
    if (TEMP_LAVA_BLOCKS.values().contains(tblock)) {
      affectedBlocks.remove(tblock);
      TEMP_LAVA_BLOCKS.remove(TEMP_LAVA_BLOCKS_BY_TEMPBLOCK.get(tblock));
      TEMP_LAVA_BLOCKS_BY_TEMPBLOCK.remove(tblock);
    }
    if (TEMP_LAND_BLOCKS.values().contains(tblock)) {
      affectedBlocks.remove(tblock);
      TEMP_LAND_BLOCKS.remove(TEMP_LAND_BLOCKS_BY_TEMPBLOCK.get(tblock));
      TEMP_LAVA_BLOCKS_BY_TEMPBLOCK.remove(tblock);
    }
    if (TEMP_AIR_BLOCKS.values().contains(tblock)) {
      affectedBlocks.remove(tblock);
      TEMP_AIR_BLOCKS.remove(TEMP_AIR_BLOCKS_BY_TEMPBLOCK.get(tblock));
      TEMP_AIR_BLOCKS_BY_TEMPBLOCK.remove(tblock);
    }
  }
  for (  BukkitRunnable task : tasks) {
    task.cancel();
  }
}