Program: 97838
Project: 97838
Buggy source:
public static boolean onCommand(Player player,String[] split,String command){
  if (command.equalsIgnoreCase("String_Node_Str")) {
    player.getWorld().refreshChunk(player.getLocation().getBlockX(),player.getLocation().getBlockZ());
    return true;
  }
  if (command.equalsIgnoreCase("String_Node_Str")) {
    if (split.length == 1) {
      try {
        vPainting.paint(player,false,false,Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
    }
 else {
      vPainting.paint(player,true,false,0);
      return true;
    }
  }
  if (command.equalsIgnoreCase("String_Node_Str") && (isAdmin(player.getName()) || player.isOp())) {
    if (VoxelSnipers.get(player.getName()) instanceof liteSniper) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player pl;
    String plName;
    try {
      pl=plugin.getServer().getPlayer(split[0]);
      plName=pl.getName();
    }
 catch (    Exception e) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    try {
      vSniper vs=VoxelSnipers.get(plName);
      vs.reset();
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      return true;
    }
 catch (    Exception e) {
      vSniper vSni=new liteSniper();
      vSni.reset();
      vSni.p=pl;
      vSni.loadAllPresets();
      VoxelSnipers.put(plName,vSni);
      liteSnipers.add(pl.getName());
      writeLiteSnipers();
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage("String_Node_Str" + VoxelSnipers.get(plName).p.getName());
      pl.sendMessage(ChatColor.RED + "String_Node_Str");
      pl.sendMessage("String_Node_Str" + VoxelSnipers.get(plName).p.getName());
      VoxelSniper.log.info("String_Node_Str" + pl.getName() + "String_Node_Str"+ player.getName()+ "String_Node_Str");
      return true;
    }
  }
  if (command.equalsIgnoreCase("String_Node_Str") && (isAdmin(player.getName()) || player.isOp())) {
    if (VoxelSnipers.get(player.getName()) instanceof liteSniper) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player pl;
    String plName;
    try {
      pl=plugin.getServer().getPlayer(split[0]);
      plName=pl.getName();
    }
 catch (    Exception e) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    try {
      vSniper vs=VoxelSnipers.get(plName);
      vs.reset();
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      return true;
    }
 catch (    Exception e) {
      vSniper vSni=new vSniper();
      vSni.reset();
      vSni.p=pl;
      vSni.loadAllPresets();
      VoxelSnipers.put(plName,vSni);
      writeSnipers();
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage("String_Node_Str" + VoxelSnipers.get(plName).p.getName());
      pl.sendMessage(ChatColor.RED + "String_Node_Str");
      pl.sendMessage("String_Node_Str" + VoxelSnipers.get(plName).p.getName());
      VoxelSniper.log.info("String_Node_Str" + pl.getName() + "String_Node_Str"+ player.getName()+ "String_Node_Str");
      return true;
    }
  }
  if (command.equalsIgnoreCase("String_Node_Str") && (isAdmin(player.getName()) || player.isOp())) {
    if (VoxelSnipers.get(player.getName()) instanceof liteSniper) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player pl;
    String plName;
    try {
      pl=plugin.getServer().getPlayer(split[0]);
      plName=pl.getName();
    }
 catch (    Exception e) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    try {
      vSniper vs=VoxelSnipers.get(plName);
      vs.reset();
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      return true;
    }
 catch (    Exception e) {
      vSniper vSni=new liteSniper();
      vSni.reset();
      vSni.p=pl;
      vSni.loadAllPresets();
      VoxelSnipers.put(plName,vSni);
      liteSnipers.add(pl.getName());
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage("String_Node_Str" + VoxelSnipers.get(plName).p.getName());
      pl.sendMessage(ChatColor.RED + "String_Node_Str");
      pl.sendMessage("String_Node_Str" + VoxelSnipers.get(plName).p.getName());
      VoxelSniper.log.info("String_Node_Str" + pl.getName() + "String_Node_Str"+ player.getName()+ "String_Node_Str");
      return true;
    }
  }
  if (command.equalsIgnoreCase("String_Node_Str") && (isAdmin(player.getName()) || player.isOp())) {
    if (VoxelSnipers.get(player.getName()) instanceof liteSniper) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    Player pl;
    String plName;
    try {
      pl=plugin.getServer().getPlayer(split[0]);
      plName=pl.getName();
    }
 catch (    Exception e) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    try {
      vSniper vs=VoxelSnipers.get(plName);
      vs.reset();
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      return true;
    }
 catch (    Exception e) {
      vSniper vSni=new vSniper();
      vSni.reset();
      vSni.p=pl;
      vSni.loadAllPresets();
      VoxelSnipers.put(plName,vSni);
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      player.sendMessage("String_Node_Str" + VoxelSnipers.get(plName).p.getName());
      pl.sendMessage(ChatColor.RED + "String_Node_Str");
      pl.sendMessage("String_Node_Str" + VoxelSnipers.get(plName).p.getName());
      VoxelSniper.log.info("String_Node_Str" + pl.getName() + "String_Node_Str"+ player.getName()+ "String_Node_Str");
      return true;
    }
  }
  if (command.equalsIgnoreCase("String_Node_Str") && (isAdmin(player.getName()) || player.isOp())) {
    if (VoxelSnipers.get(player.getName()) instanceof liteSniper) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    try {
      vSniper vs=VoxelSnipers.remove(split[0]);
      Boolean success=removeSniper(split[0]);
      Boolean success2=removeLiteSniper(split[0]);
      if (!success && !success2) {
        player.sendMessage("String_Node_Str");
      }
 else {
        player.sendMessage("String_Node_Str");
      }
      vs.p.sendMessage(ChatColor.DARK_GREEN + "String_Node_Str");
      return true;
    }
 catch (    Exception e) {
      player.sendMessage(ChatColor.GRAY + "String_Node_Str");
      return true;
    }
  }
  if (command.equalsIgnoreCase("String_Node_Str") && isAdmin(player.getName())) {
    if (VoxelSnipers.get(player.getName()) instanceof liteSniper) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    try {
      int x=Integer.parseInt(split[0]);
      int z=Integer.parseInt(split[1]);
      player.teleport(new Location(player.getWorld(),x,115,z));
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      return true;
    }
 catch (    Exception e) {
      player.sendMessage("String_Node_Str");
      return true;
    }
  }
  if (VoxelSnipers.containsKey(player.getName())) {
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        VoxelSnipers.get(split[0]).doUndo();
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.GREEN + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        VoxelSnipers.get(plugin.getServer().getPlayer(split[0]).getName()).doUndo();
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.GREEN + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      vSniper vs=VoxelSnipers.get(player.getName());
      try {
        int r=Integer.parseInt(split[0]);
        vs.doUndo(r);
      }
 catch (      Exception e) {
        vs.doUndo();
      }
      VoxelSniper.log.log(Level.INFO,"String_Node_Str" + player.getName() + "String_Node_Str");
      return true;
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        VoxelSnipers.get(player.getName()).reset();
        player.sendMessage(ChatColor.GRAY + "String_Node_Str");
        return true;
      }
 catch (      Exception e) {
        player.sendMessage("String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        if (split.length >= 1) {
          if (split[0].equalsIgnoreCase("String_Node_Str")) {
            VoxelSnipers.get(player.getName()).printBrushes();
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            VoxelSnipers.get(player.getName()).printBrushesLong();
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            VoxelSnipers.get(player.getName()).togglePrintout();
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            if (VoxelSnipers.get(player.getName()) instanceof liteSniper) {
              player.sendMessage(ChatColor.RED + "String_Node_Str");
              return true;
            }
            VoxelSnipers.get(player.getName()).toggleLightning();
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            if (VoxelSnipers.get(player.getName()) instanceof liteSniper) {
              player.sendMessage(ChatColor.RED + "String_Node_Str");
              return true;
            }
            player.getWorld().setWeatherDuration(0);
            player.getWorld().setStorm(false);
            player.sendMessage(ChatColor.GREEN + "String_Node_Str");
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            if (split.length == 1) {
              player.sendMessage(ChatColor.RED + "String_Node_Str");
            }
            String message="String_Node_Str";
            for (int i=1; i < split.length; i++) {
              message+=split[i] + "String_Node_Str";
            }
            player.sendMessage(message);
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            if (split.length == 2) {
              double i=Double.parseDouble(split[1]);
              if (VoxelSnipers.get(player.getName()) instanceof liteSniper && (i > 12 || i < -12)) {
                player.sendMessage(ChatColor.RED + "String_Node_Str");
                return true;
              }
              VoxelSnipers.get(player.getName()).setRange(i);
              return true;
            }
 else {
              VoxelSnipers.get(player.getName()).setRange(-1);
              return true;
            }
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            player.sendMessage("String_Node_Str");
            sitAll();
            player.sendMessage("String_Node_Str");
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            player.sendMessage(ChatColor.AQUA + "String_Node_Str");
            player.sendMessage(PerformerE.performer_list_short);
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            player.sendMessage(ChatColor.AQUA + "String_Node_Str");
            player.sendMessage(PerformerE.performer_list_long);
            return true;
          }
        }
        player.sendMessage(ChatColor.DARK_RED + "String_Node_Str");
        VoxelSnipers.get(player.getName()).info();
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        if (split.length == 0) {
          VoxelSnipers.get(player.getName()).setCentroid(0);
          return true;
        }
        VoxelSnipers.get(player.getName()).setCentroid(Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        VoxelSnipers.get(player.getName()).setHeigth(Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      if (split.length == 0) {
        HitBlox hb=new HitBlox(player,player.getWorld());
        Block tb=hb.getTargetBlock();
        try {
          VoxelSnipers.get(player.getName()).setData(tb.getData());
          return true;
        }
 catch (        Exception e) {
          return true;
        }
      }
      try {
        VoxelSnipers.get(player.getName()).setData((byte)Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      if (split.length == 0) {
        HitBlox hb=new HitBlox(player,player.getWorld());
        Block tb=hb.getTargetBlock();
        try {
          VoxelSnipers.get(player.getName()).setReplaceData(tb.getData());
          return true;
        }
 catch (        Exception e) {
          return true;
        }
      }
      try {
        VoxelSnipers.get(player.getName()).setReplaceData((byte)Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      if (split.length == 0) {
        HitBlox hb=new HitBlox(player,player.getWorld());
        Block tb=hb.getTargetBlock();
        try {
          VoxelSnipers.get(player.getName()).setReplace(tb.getTypeId());
          return true;
        }
 catch (        Exception e) {
          return true;
        }
      }
      try {
        vSniper ps=VoxelSnipers.get(player.getName());
        int i=Integer.parseInt(split[0]);
        if (VoxelSniper.isValidItem(i) && Material.getMaterial(i).isBlock()) {
          ps.setReplace(i);
          return true;
        }
 else         if (ps.replaceId != 0) {
          player.sendMessage(ChatColor.RED + "String_Node_Str");
          return true;
        }
        return true;
      }
 catch (      Exception e) {
        try {
          vSniper ps=VoxelSnipers.get(player.getName());
          int derp=VoxelSniper.getItem(split[0]);
          if (derp != 0) {
            ps.setReplace(derp);
            return true;
          }
          player.sendMessage("String_Node_Str");
          return true;
        }
 catch (        Exception ex) {
          return true;
        }
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      if (split.length == 0) {
        HitBlox hb=new HitBlox(player,player.getWorld());
        Block tb=hb.getTargetBlock();
        try {
          VoxelSnipers.get(player.getName()).addVoxelToList(tb.getTypeId());
          return true;
        }
 catch (        Exception e) {
          return true;
        }
      }
 else {
        if (split[0].equalsIgnoreCase("String_Node_Str")) {
          VoxelSnipers.get(player.getName()).clearVoxelList();
          return true;
        }
      }
      vSniper ps=VoxelSnipers.get(player.getName());
      boolean rem=false;
      for (      String str : split) {
        String tmpint;
        Integer xint;
        try {
          if (str.startsWith("String_Node_Str")) {
            rem=true;
            tmpint=str.replaceAll("String_Node_Str","String_Node_Str");
          }
 else {
            tmpint=str;
          }
          xint=Integer.parseInt(tmpint);
          if (VoxelSniper.isValidItem(xint) && Material.getMaterial(xint).isBlock()) {
            if (!rem) {
              ps.addVoxelToList(xint);
              continue;
            }
 else {
              ps.removeVoxelFromList(xint);
              continue;
            }
          }
        }
 catch (        NumberFormatException e) {
          try {
            String tmpstr;
            Integer xstr;
            rem=false;
            if (str.startsWith("String_Node_Str")) {
              rem=true;
              tmpstr=str.replaceAll("String_Node_Str","String_Node_Str");
            }
 else {
              tmpstr=str;
            }
            xstr=VoxelSniper.getItem(tmpstr);
            if (!rem) {
              ps.addVoxelToList(xstr);
            }
 else {
              ps.removeVoxelFromList(xstr);
            }
          }
 catch (          Exception ex) {
          }
        }
      }
      return true;
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      if (split.length == 0) {
        HitBlox hb=new HitBlox(player,player.getWorld());
        Block tb=hb.getTargetBlock();
        try {
          VoxelSnipers.get(player.getName()).setVoxel(tb.getTypeId());
          return true;
        }
 catch (        Exception e) {
          return true;
        }
      }
      if (split[0] != null) {
        try {
          vSniper ps=VoxelSnipers.get(player.getName());
          int i=Integer.parseInt(split[0]);
          if (VoxelSniper.isValidItem(i) && Material.getMaterial(i).isBlock()) {
            ps.setVoxel(i);
            return true;
          }
 else           if (ps.voxelId != 0) {
            player.sendMessage(ChatColor.RED + "String_Node_Str");
            return true;
          }
          return true;
        }
 catch (        NumberFormatException n) {
          try {
            vSniper ps=VoxelSnipers.get(player.getName());
            int derp=VoxelSniper.getItem(split[0]);
            if (derp != 0) {
              ps.setVoxel(derp);
              return true;
            }
            player.sendMessage("String_Node_Str" + split[0] + "String_Node_Str");
            return true;
          }
 catch (          Exception ex) {
            return true;
          }
        }
      }
 else {
        player.sendMessage("String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        vSniper ps=VoxelSnipers.get(player.getName());
        try {
          if (split == null || split.length == 0) {
            ps.previousBrush();
            return true;
          }
 else {
            ps.setBrushSize(Integer.parseInt(split[0]));
            player.sendMessage(ChatColor.GREEN + "String_Node_Str" + ps.brushSize);
            if (ps.brushSize >= 20) {
              player.sendMessage(ChatColor.RED + "String_Node_Str");
            }
            return true;
          }
        }
 catch (        Exception e) {
          ps.fillPrevious();
          ps.setBrush(split);
          return true;
        }
      }
 catch (      Exception ex) {
        VoxelSniper.log.log(Level.WARNING,"String_Node_Str" + player.getName());
        ex.printStackTrace();
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        vSniper ps=VoxelSnipers.get(player.getName());
        if (split == null || split.length == 0) {
          ps.setPerformer(new String[]{"String_Node_Str","String_Node_Str"});
        }
 else {
          ps.setPerformer(split);
        }
        return true;
      }
 catch (      Exception ex) {
        VoxelSniper.log.log(Level.WARNING,"String_Node_Str" + player.getName());
        ex.printStackTrace();
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        vSniper ps=VoxelSnipers.get(player.getName());
        ps.savePreset(Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        vSniper ps=VoxelSnipers.get(player.getName());
        ps.savePreset(split[0]);
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        vSniper ps=VoxelSnipers.get(player.getName());
        ps.loadPreset(Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        vSniper ps=VoxelSnipers.get(player.getName());
        ps.loadPreset(split[0]);
        return true;
      }
    }
  }
  return false;
}

Fixed version (ground truth):
public static boolean onCommand(Player player,String[] split,String command){
  if (command.equalsIgnoreCase("String_Node_Str")) {
    player.getWorld().refreshChunk(player.getLocation().getBlockX(),player.getLocation().getBlockZ());
    return true;
  }
  if (command.equalsIgnoreCase("String_Node_Str")) {
    if (split.length == 1) {
      try {
        vPainting.paint(player,false,false,Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
    }
 else {
      vPainting.paint(player,true,false,0);
      return true;
    }
  }
  if (onConsoleSafeCommand(player,split,command))   return true;
  if (command.equalsIgnoreCase("String_Node_Str") && isAdmin(player.getName())) {
    if (VoxelSnipers.get(player.getName()) instanceof liteSniper) {
      player.sendMessage(ChatColor.RED + "String_Node_Str");
      return true;
    }
    try {
      int x=Integer.parseInt(split[0]);
      int z=Integer.parseInt(split[1]);
      player.teleport(new Location(player.getWorld(),x,115,z));
      player.sendMessage(ChatColor.GREEN + "String_Node_Str");
      return true;
    }
 catch (    Exception e) {
      player.sendMessage("String_Node_Str");
      return true;
    }
  }
  if (VoxelSnipers.containsKey(player.getName())) {
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        VoxelSnipers.get(split[0]).doUndo();
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.GREEN + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        VoxelSnipers.get(plugin.getServer().getPlayer(split[0]).getName()).doUndo();
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.GREEN + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      vSniper vs=VoxelSnipers.get(player.getName());
      try {
        int r=Integer.parseInt(split[0]);
        vs.doUndo(r);
      }
 catch (      Exception e) {
        vs.doUndo();
      }
      VoxelSniper.log.log(Level.INFO,"String_Node_Str" + player.getName() + "String_Node_Str");
      return true;
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        VoxelSnipers.get(player.getName()).reset();
        player.sendMessage(ChatColor.GRAY + "String_Node_Str");
        return true;
      }
 catch (      Exception e) {
        player.sendMessage("String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        if (split.length >= 1) {
          if (split[0].equalsIgnoreCase("String_Node_Str")) {
            VoxelSnipers.get(player.getName()).printBrushes();
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            VoxelSnipers.get(player.getName()).printBrushesLong();
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            VoxelSnipers.get(player.getName()).togglePrintout();
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            if (VoxelSnipers.get(player.getName()) instanceof liteSniper) {
              player.sendMessage(ChatColor.RED + "String_Node_Str");
              return true;
            }
            VoxelSnipers.get(player.getName()).toggleLightning();
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            if (VoxelSnipers.get(player.getName()) instanceof liteSniper) {
              player.sendMessage(ChatColor.RED + "String_Node_Str");
              return true;
            }
            player.getWorld().setWeatherDuration(0);
            player.getWorld().setStorm(false);
            player.sendMessage(ChatColor.GREEN + "String_Node_Str");
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            if (split.length == 1) {
              player.sendMessage(ChatColor.RED + "String_Node_Str");
            }
            String message="String_Node_Str";
            for (int i=1; i < split.length; i++) {
              message+=split[i] + "String_Node_Str";
            }
            player.sendMessage(message);
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            if (split.length == 2) {
              double i=Double.parseDouble(split[1]);
              if (VoxelSnipers.get(player.getName()) instanceof liteSniper && (i > 12 || i < -12)) {
                player.sendMessage(ChatColor.RED + "String_Node_Str");
                return true;
              }
              VoxelSnipers.get(player.getName()).setRange(i);
              return true;
            }
 else {
              VoxelSnipers.get(player.getName()).setRange(-1);
              return true;
            }
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            player.sendMessage("String_Node_Str");
            sitAll();
            player.sendMessage("String_Node_Str");
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            player.sendMessage(ChatColor.AQUA + "String_Node_Str");
            player.sendMessage(PerformerE.performer_list_short);
            return true;
          }
 else           if (split[0].equalsIgnoreCase("String_Node_Str")) {
            player.sendMessage(ChatColor.AQUA + "String_Node_Str");
            player.sendMessage(PerformerE.performer_list_long);
            return true;
          }
        }
        player.sendMessage(ChatColor.DARK_RED + "String_Node_Str");
        VoxelSnipers.get(player.getName()).info();
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        if (split.length == 0) {
          VoxelSnipers.get(player.getName()).setCentroid(0);
          return true;
        }
        VoxelSnipers.get(player.getName()).setCentroid(Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        VoxelSnipers.get(player.getName()).setHeigth(Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      if (split.length == 0) {
        HitBlox hb=new HitBlox(player,player.getWorld());
        Block tb=hb.getTargetBlock();
        try {
          VoxelSnipers.get(player.getName()).setData(tb.getData());
          return true;
        }
 catch (        Exception e) {
          return true;
        }
      }
      try {
        VoxelSnipers.get(player.getName()).setData((byte)Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      if (split.length == 0) {
        HitBlox hb=new HitBlox(player,player.getWorld());
        Block tb=hb.getTargetBlock();
        try {
          VoxelSnipers.get(player.getName()).setReplaceData(tb.getData());
          return true;
        }
 catch (        Exception e) {
          return true;
        }
      }
      try {
        VoxelSnipers.get(player.getName()).setReplaceData((byte)Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        player.sendMessage(ChatColor.RED + "String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      if (split.length == 0) {
        HitBlox hb=new HitBlox(player,player.getWorld());
        Block tb=hb.getTargetBlock();
        try {
          VoxelSnipers.get(player.getName()).setReplace(tb.getTypeId());
          return true;
        }
 catch (        Exception e) {
          return true;
        }
      }
      try {
        vSniper ps=VoxelSnipers.get(player.getName());
        int i=Integer.parseInt(split[0]);
        if (VoxelSniper.isValidItem(i) && Material.getMaterial(i).isBlock()) {
          ps.setReplace(i);
          return true;
        }
 else         if (ps.replaceId != 0) {
          player.sendMessage(ChatColor.RED + "String_Node_Str");
          return true;
        }
        return true;
      }
 catch (      Exception e) {
        try {
          vSniper ps=VoxelSnipers.get(player.getName());
          int derp=VoxelSniper.getItem(split[0]);
          if (derp != 0) {
            ps.setReplace(derp);
            return true;
          }
          player.sendMessage("String_Node_Str");
          return true;
        }
 catch (        Exception ex) {
          return true;
        }
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      if (split.length == 0) {
        HitBlox hb=new HitBlox(player,player.getWorld());
        Block tb=hb.getTargetBlock();
        try {
          VoxelSnipers.get(player.getName()).addVoxelToList(tb.getTypeId());
          return true;
        }
 catch (        Exception e) {
          return true;
        }
      }
 else {
        if (split[0].equalsIgnoreCase("String_Node_Str")) {
          VoxelSnipers.get(player.getName()).clearVoxelList();
          return true;
        }
      }
      vSniper ps=VoxelSnipers.get(player.getName());
      boolean rem=false;
      for (      String str : split) {
        String tmpint;
        Integer xint;
        try {
          if (str.startsWith("String_Node_Str")) {
            rem=true;
            tmpint=str.replaceAll("String_Node_Str","String_Node_Str");
          }
 else {
            tmpint=str;
          }
          xint=Integer.parseInt(tmpint);
          if (VoxelSniper.isValidItem(xint) && Material.getMaterial(xint).isBlock()) {
            if (!rem) {
              ps.addVoxelToList(xint);
              continue;
            }
 else {
              ps.removeVoxelFromList(xint);
              continue;
            }
          }
        }
 catch (        NumberFormatException e) {
          try {
            String tmpstr;
            Integer xstr;
            rem=false;
            if (str.startsWith("String_Node_Str")) {
              rem=true;
              tmpstr=str.replaceAll("String_Node_Str","String_Node_Str");
            }
 else {
              tmpstr=str;
            }
            xstr=VoxelSniper.getItem(tmpstr);
            if (!rem) {
              ps.addVoxelToList(xstr);
            }
 else {
              ps.removeVoxelFromList(xstr);
            }
          }
 catch (          Exception ex) {
          }
        }
      }
      return true;
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      if (split.length == 0) {
        HitBlox hb=new HitBlox(player,player.getWorld());
        Block tb=hb.getTargetBlock();
        try {
          VoxelSnipers.get(player.getName()).setVoxel(tb.getTypeId());
          return true;
        }
 catch (        Exception e) {
          return true;
        }
      }
      if (split[0] != null) {
        try {
          vSniper ps=VoxelSnipers.get(player.getName());
          int i=Integer.parseInt(split[0]);
          if (VoxelSniper.isValidItem(i) && Material.getMaterial(i).isBlock()) {
            ps.setVoxel(i);
            return true;
          }
 else           if (ps.voxelId != 0) {
            player.sendMessage(ChatColor.RED + "String_Node_Str");
            return true;
          }
          return true;
        }
 catch (        NumberFormatException n) {
          try {
            vSniper ps=VoxelSnipers.get(player.getName());
            int derp=VoxelSniper.getItem(split[0]);
            if (derp != 0) {
              ps.setVoxel(derp);
              return true;
            }
            player.sendMessage("String_Node_Str" + split[0] + "String_Node_Str");
            return true;
          }
 catch (          Exception ex) {
            return true;
          }
        }
      }
 else {
        player.sendMessage("String_Node_Str");
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        vSniper ps=VoxelSnipers.get(player.getName());
        try {
          if (split == null || split.length == 0) {
            ps.previousBrush();
            return true;
          }
 else {
            ps.setBrushSize(Integer.parseInt(split[0]));
            player.sendMessage(ChatColor.GREEN + "String_Node_Str" + ps.brushSize);
            if (ps.brushSize >= 20) {
              player.sendMessage(ChatColor.RED + "String_Node_Str");
            }
            return true;
          }
        }
 catch (        Exception e) {
          ps.fillPrevious();
          ps.setBrush(split);
          return true;
        }
      }
 catch (      Exception ex) {
        VoxelSniper.log.log(Level.WARNING,"String_Node_Str" + player.getName());
        ex.printStackTrace();
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        vSniper ps=VoxelSnipers.get(player.getName());
        if (split == null || split.length == 0) {
          ps.setPerformer(new String[]{"String_Node_Str","String_Node_Str"});
        }
 else {
          ps.setPerformer(split);
        }
        return true;
      }
 catch (      Exception ex) {
        VoxelSniper.log.log(Level.WARNING,"String_Node_Str" + player.getName());
        ex.printStackTrace();
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        vSniper ps=VoxelSnipers.get(player.getName());
        ps.savePreset(Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        vSniper ps=VoxelSnipers.get(player.getName());
        ps.savePreset(split[0]);
        return true;
      }
    }
    if (command.equalsIgnoreCase("String_Node_Str")) {
      try {
        vSniper ps=VoxelSnipers.get(player.getName());
        ps.loadPreset(Integer.parseInt(split[0]));
        return true;
      }
 catch (      Exception e) {
        vSniper ps=VoxelSnipers.get(player.getName());
        ps.loadPreset(split[0]);
        return true;
      }
    }
  }
  return false;
}