Program: 58087
Project: 58087
Buggy source:
@SuppressWarnings("String_Node_Str") @Override public boolean execute(final Player plr,final String... args){
  if (!PlayerFunctions.isInPlot(plr)) {
    PlayerFunctions.sendMessage(plr,C.NOT_IN_PLOT);
    return false;
  }
  final Plot plot=PlayerFunctions.getCurrentPlot(plr);
  if (!plot.hasOwner()) {
    sendMessage(plr,C.PLOT_NOT_CLAIMED);
    return false;
  }
  if (!plot.hasRights(plr) && !PlotMain.hasPermission(plr,"String_Node_Str")) {
    PlayerFunctions.sendMessage(plr,C.NO_PLOT_PERMS);
    return false;
  }
  if (args.length < 1) {
    PlayerFunctions.sendMessage(plr,C.SUBCOMMAND_SET_OPTIONS_HEADER.s() + getArgumentList(values));
    return false;
  }
  for (int i=0; i < aliases.length; i++) {
    if (aliases[i].equalsIgnoreCase(args[0])) {
      args[0]=values[i];
      break;
    }
  }
  if (!PlotMain.hasPermission(plr,"String_Node_Str" + args[0].toLowerCase())) {
    PlayerFunctions.sendMessage(plr,C.NO_PERMISSION,"String_Node_Str" + args[0].toLowerCase());
    return false;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      String message=StringUtils.join(FlagManager.getFlags(plr),"String_Node_Str");
      if (PlotMain.worldGuardListener != null) {
        if (message.equals("String_Node_Str")) {
          message=StringUtils.join(PlotMain.worldGuardListener.str_flags,"String_Node_Str");
        }
 else {
          message+="String_Node_Str" + StringUtils.join(PlotMain.worldGuardListener.str_flags,"String_Node_Str");
        }
      }
      PlayerFunctions.sendMessage(plr,C.NEED_KEY.s().replaceAll("String_Node_Str",message));
      return false;
    }
    AbstractFlag af;
    try {
      af=FlagManager.getFlag(args[1].toLowerCase());
    }
 catch (    final Exception e) {
      af=new AbstractFlag(args[1].toLowerCase());
    }
    if (!FlagManager.getFlags().contains(af) && ((PlotMain.worldGuardListener == null) || !PlotMain.worldGuardListener.str_flags.contains(args[1].toLowerCase()))) {
      PlayerFunctions.sendMessage(plr,C.NOT_VALID_FLAG);
      return false;
    }
    if (!PlotMain.hasPermission(plr,"String_Node_Str" + args[1].toLowerCase())) {
      PlayerFunctions.sendMessage(plr,C.NO_PERMISSION);
      return false;
    }
    if (args.length == 2) {
      if (plot.settings.getFlag(args[1].toLowerCase()) == null) {
        if (PlotMain.worldGuardListener != null) {
          if (PlotMain.worldGuardListener.str_flags.contains(args[1].toLowerCase())) {
            PlotMain.worldGuardListener.removeFlag(plr,plr.getWorld(),plot,args[1]);
            return false;
          }
        }
        PlayerFunctions.sendMessage(plr,C.FLAG_NOT_IN_PLOT);
        return false;
      }
      final Flag flag=plot.settings.getFlag(args[1].toLowerCase());
      final PlotFlagRemoveEvent event=new PlotFlagRemoveEvent(flag,plot);
      Bukkit.getServer().getPluginManager().callEvent(event);
      if (event.isCancelled()) {
        PlayerFunctions.sendMessage(plr,C.FLAG_NOT_REMOVED);
        event.setCancelled(true);
        return false;
      }
      final java.util.Set<Flag> newflags=plot.settings.getFlags();
      final Flag oldFlag=plot.settings.getFlag(args[1].toLowerCase());
      if (oldFlag != null) {
        newflags.remove(oldFlag);
      }
      plot.settings.setFlags(newflags.toArray(new Flag[newflags.size()]));
      DBFunc.setFlags(plr.getWorld().getName(),plot,newflags.toArray(new Flag[newflags.size()]));
      PlayerFunctions.sendMessage(plr,C.FLAG_REMOVED);
      PlotListener.plotEntry(plr,plot);
      return true;
    }
    try {
      String value=StringUtils.join(Arrays.copyOfRange(args,2,args.length),"String_Node_Str");
      value=af.parseValue(value);
      if (value == null) {
        PlayerFunctions.sendMessage(plr,af.getValueDesc());
        return false;
      }
      if ((FlagManager.getFlag(args[1].toLowerCase()) == null) && (PlotMain.worldGuardListener != null)) {
        PlotMain.worldGuardListener.addFlag(plr,plr.getWorld(),plot,args[1],value);
        return false;
      }
      final Flag flag=new Flag(FlagManager.getFlag(args[1].toLowerCase(),true),value);
      final PlotFlagAddEvent event=new PlotFlagAddEvent(flag,plot);
      Bukkit.getServer().getPluginManager().callEvent(event);
      if (event.isCancelled()) {
        PlayerFunctions.sendMessage(plr,C.FLAG_NOT_ADDED);
        event.setCancelled(true);
        return false;
      }
      plot.settings.addFlag(flag);
      final java.util.Set<Flag> flags=plot.settings.getFlags();
      DBFunc.setFlags(plr.getWorld().getName(),plot,flags.toArray(new Flag[flags.size()]));
      PlayerFunctions.sendMessage(plr,C.FLAG_ADDED);
      PlotListener.plotEntry(plr,plot);
      return true;
    }
 catch (    final Exception e) {
      PlayerFunctions.sendMessage(plr,"String_Node_Str" + e.getMessage());
      return false;
    }
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      PlayerFunctions.sendMessage(plr,C.MISSING_POSITION);
      return false;
    }
    PlotHomePosition position=null;
    for (    final PlotHomePosition p : PlotHomePosition.values()) {
      if (p.isMatching(args[1])) {
        position=p;
      }
    }
    if (position == null) {
      PlayerFunctions.sendMessage(plr,C.INVALID_POSITION);
      return false;
    }
    DBFunc.setPosition(plr.getWorld().getName(),plot,position.toString());
    PlayerFunctions.sendMessage(plr,C.POSITION_SET);
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      PlayerFunctions.sendMessage(plr,C.MISSING_ALIAS);
      return false;
    }
    final String alias=args[1];
    for (    final Plot p : PlotMain.getPlots(plr.getWorld()).values()) {
      if (p.settings.getAlias().equalsIgnoreCase(alias)) {
        PlayerFunctions.sendMessage(plr,C.ALIAS_IS_TAKEN);
        return false;
      }
      if (Bukkit.getOfflinePlayer(alias).hasPlayedBefore()) {
        PlayerFunctions.sendMessage(plr,C.ALIAS_IS_TAKEN);
        return false;
      }
    }
    DBFunc.setAlias(plr.getWorld().getName(),plot,alias);
    PlayerFunctions.sendMessage(plr,C.ALIAS_SET_TO.s().replaceAll("String_Node_Str",alias));
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      PlayerFunctions.sendMessage(plr,C.NEED_BIOME);
      return true;
    }
    if (args[1].length() < 2) {
      sendMessage(plr,C.NAME_LITTLE,"String_Node_Str",args[1].length() + "String_Node_Str","String_Node_Str");
      return true;
    }
    final Biome biome=Biome.valueOf(new StringComparison(args[1],Biome.values()).getBestMatch());
    if (biome == null) {
      PlayerFunctions.sendMessage(plr,getBiomeList(Arrays.asList(Biome.values())));
      return true;
    }
    PlotHelper.setBiome(plr.getWorld(),plot,biome);
    PlayerFunctions.sendMessage(plr,C.BIOME_SET_TO.s() + biome.toString().toLowerCase());
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    final PlotWorld plotworld=PlotMain.getWorldSettings(plr.getWorld());
    if (plotworld == null) {
      PlayerFunctions.sendMessage(plr,C.NOT_IN_PLOT_WORLD);
      return true;
    }
    if (args.length < 2) {
      PlayerFunctions.sendMessage(plr,C.NEED_BLOCK);
      return true;
    }
    if (args[1].length() < 2) {
      sendMessage(plr,C.NAME_LITTLE,"String_Node_Str",args[1].length() + "String_Node_Str","String_Node_Str");
      return true;
    }
    Material material;
    try {
      material=getMaterial(args[1],PlotWorld.BLOCKS);
    }
 catch (    final NullPointerException e) {
      material=null;
    }
    if (material == null) {
      PlayerFunctions.sendMessage(plr,getBlockList(PlotWorld.BLOCKS));
      return true;
    }
    byte data=0;
    if (args.length > 2) {
      try {
        data=(byte)Integer.parseInt(args[2]);
      }
 catch (      final Exception e) {
        PlayerFunctions.sendMessage(plr,C.NOT_VALID_DATA);
        return true;
      }
    }
    PlayerFunctions.sendMessage(plr,C.GENERATING_WALL);
    PlotHelper.adjustWall(plr,plot,new PlotBlock((short)material.getId(),data));
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      PlayerFunctions.sendMessage(plr,C.NEED_BLOCK);
      return true;
    }
    final PlotWorld plotworld=PlotMain.getWorldSettings(plr.getWorld());
    if (plotworld == null) {
      PlayerFunctions.sendMessage(plr,C.NOT_IN_PLOT_WORLD);
      return true;
    }
    @SuppressWarnings("String_Node_Str") final ArrayList<Material> materials=(ArrayList<Material>)((ArrayList<Material>)PlotWorld.BLOCKS).clone();
    materials.add(Material.AIR);
    final String[] strings=args[1].split("String_Node_Str");
    int index=0;
    Material m;
    final PlotBlock[] blocks=new PlotBlock[strings.length];
    for (    String s : strings) {
      s=s.replaceAll("String_Node_Str","String_Node_Str");
      final String[] ss=s.split("String_Node_Str");
      ss[0]=ss[0].replaceAll("String_Node_Str","String_Node_Str");
      if (ss[0].length() < 2) {
        sendMessage(plr,C.NAME_LITTLE,"String_Node_Str",ss[0].length() + "String_Node_Str","String_Node_Str");
        return true;
      }
      m=getMaterial(ss[0],materials);
      if (m == null) {
        PlayerFunctions.sendMessage(plr,C.NOT_VALID_BLOCK);
        return true;
      }
      if (ss.length == 1) {
        blocks[index]=new PlotBlock((short)m.getId(),(byte)0);
      }
 else {
        byte b;
        try {
          b=(byte)Integer.parseInt(ss[1]);
        }
 catch (        final Exception e) {
          PlayerFunctions.sendMessage(plr,C.NOT_VALID_DATA);
          return true;
        }
        blocks[index]=new PlotBlock((short)m.getId(),b);
      }
      index++;
    }
    PlotHelper.setFloor(plr,plot,blocks);
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      PlayerFunctions.sendMessage(plr,C.NEED_BLOCK);
      return true;
    }
    final PlotWorld plotworld=PlotMain.getWorldSettings(plr.getWorld());
    if (plotworld == null) {
      PlayerFunctions.sendMessage(plr,C.NOT_IN_PLOT_WORLD);
      return true;
    }
    if (args[1].length() < 2) {
      sendMessage(plr,C.NAME_LITTLE,"String_Node_Str",args[1].length() + "String_Node_Str","String_Node_Str");
      return true;
    }
    final Material material=getMaterial(args[1],PlotWorld.BLOCKS);
    if (material == null) {
      PlayerFunctions.sendMessage(plr,getBlockList(PlotWorld.BLOCKS));
      return true;
    }
    byte data=0;
    if (args.length > 2) {
      try {
        data=(byte)Integer.parseInt(args[2]);
      }
 catch (      final Exception e) {
        PlayerFunctions.sendMessage(plr,C.NOT_VALID_DATA);
        return true;
      }
    }
    PlotHelper.adjustWallFilling(plr,plot,new PlotBlock((short)material.getId(),data));
    return true;
  }
{
    AbstractFlag af;
    try {
      af=new AbstractFlag(args[0].toLowerCase());
    }
 catch (    final Exception e) {
      af=new AbstractFlag("String_Node_Str");
    }
    if (FlagManager.getFlags().contains(af)) {
      final StringBuilder a=new StringBuilder();
      if (args.length > 1) {
        for (int x=1; x < args.length; x++) {
          a.append("String_Node_Str").append(args[x]);
        }
      }
      plr.performCommand("String_Node_Str" + args[0] + a.toString());
      return true;
    }
  }
  PlayerFunctions.sendMessage(plr,C.SUBCOMMAND_SET_OPTIONS_HEADER.s() + getArgumentList(values));
  return false;
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") @Override public boolean execute(final Player plr,final String... args){
  if (!PlayerFunctions.isInPlot(plr)) {
    PlayerFunctions.sendMessage(plr,C.NOT_IN_PLOT);
    return false;
  }
  final Plot plot=PlayerFunctions.getCurrentPlot(plr);
  if (!plot.hasOwner()) {
    sendMessage(plr,C.PLOT_NOT_CLAIMED);
    return false;
  }
  if (!plot.hasRights(plr) && !PlotMain.hasPermission(plr,"String_Node_Str")) {
    PlayerFunctions.sendMessage(plr,C.NO_PLOT_PERMS);
    return false;
  }
  if (args.length < 1) {
    PlayerFunctions.sendMessage(plr,C.SUBCOMMAND_SET_OPTIONS_HEADER.s() + getArgumentList(values));
    return false;
  }
  for (int i=0; i < aliases.length; i++) {
    if (aliases[i].equalsIgnoreCase(args[0])) {
      args[0]=values[i];
      break;
    }
  }
  if (!PlotMain.hasPermission(plr,"String_Node_Str" + args[0].toLowerCase())) {
    PlayerFunctions.sendMessage(plr,C.NO_PERMISSION,"String_Node_Str" + args[0].toLowerCase());
    return false;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      String message=StringUtils.join(FlagManager.getFlags(plr),"String_Node_Str");
      if (PlotMain.worldGuardListener != null) {
        if (message.equals("String_Node_Str")) {
          message=StringUtils.join(PlotMain.worldGuardListener.str_flags,"String_Node_Str");
        }
 else {
          message+="String_Node_Str" + StringUtils.join(PlotMain.worldGuardListener.str_flags,"String_Node_Str");
        }
      }
      PlayerFunctions.sendMessage(plr,C.NEED_KEY.s().replaceAll("String_Node_Str",message));
      return false;
    }
    AbstractFlag af;
    try {
      af=FlagManager.getFlag(args[1].toLowerCase());
    }
 catch (    final Exception e) {
      af=new AbstractFlag(args[1].toLowerCase());
    }
    if (!FlagManager.getFlags().contains(af) && ((PlotMain.worldGuardListener == null) || !PlotMain.worldGuardListener.str_flags.contains(args[1].toLowerCase()))) {
      PlayerFunctions.sendMessage(plr,C.NOT_VALID_FLAG);
      return false;
    }
    if (!PlotMain.hasPermission(plr,"String_Node_Str" + args[1].toLowerCase())) {
      PlayerFunctions.sendMessage(plr,C.NO_PERMISSION);
      return false;
    }
    if (args.length == 2) {
      if (plot.settings.getFlag(args[1].toLowerCase()) == null) {
        if (PlotMain.worldGuardListener != null) {
          if (PlotMain.worldGuardListener.str_flags.contains(args[1].toLowerCase())) {
            PlotMain.worldGuardListener.removeFlag(plr,plr.getWorld(),plot,args[1]);
            return false;
          }
        }
        PlayerFunctions.sendMessage(plr,C.FLAG_NOT_IN_PLOT);
        return false;
      }
      final Flag flag=plot.settings.getFlag(args[1].toLowerCase());
      final PlotFlagRemoveEvent event=new PlotFlagRemoveEvent(flag,plot);
      Bukkit.getServer().getPluginManager().callEvent(event);
      if (event.isCancelled()) {
        PlayerFunctions.sendMessage(plr,C.FLAG_NOT_REMOVED);
        event.setCancelled(true);
        return false;
      }
      final java.util.Set<Flag> newflags=plot.settings.getFlags();
      final Flag oldFlag=plot.settings.getFlag(args[1].toLowerCase());
      if (oldFlag != null) {
        newflags.remove(oldFlag);
      }
      plot.settings.setFlags(newflags.toArray(new Flag[newflags.size()]));
      DBFunc.setFlags(plr.getWorld().getName(),plot,newflags.toArray(new Flag[newflags.size()]));
      PlayerFunctions.sendMessage(plr,C.FLAG_REMOVED);
      PlotListener.plotEntry(plr,plot);
      return true;
    }
    try {
      String value=StringUtils.join(Arrays.copyOfRange(args,2,args.length),"String_Node_Str");
      value=af.parseValue(value);
      if (value == null) {
        PlayerFunctions.sendMessage(plr,af.getValueDesc());
        return false;
      }
      if ((FlagManager.getFlag(args[1].toLowerCase()) == null) && (PlotMain.worldGuardListener != null)) {
        PlotMain.worldGuardListener.addFlag(plr,plr.getWorld(),plot,args[1],value);
        return false;
      }
      final Flag flag=new Flag(FlagManager.getFlag(args[1].toLowerCase(),true),value);
      final PlotFlagAddEvent event=new PlotFlagAddEvent(flag,plot);
      Bukkit.getServer().getPluginManager().callEvent(event);
      if (event.isCancelled()) {
        PlayerFunctions.sendMessage(plr,C.FLAG_NOT_ADDED);
        event.setCancelled(true);
        return false;
      }
      plot.settings.addFlag(flag);
      final java.util.Set<Flag> flags=plot.settings.getFlags();
      DBFunc.setFlags(plr.getWorld().getName(),plot,flags.toArray(new Flag[flags.size()]));
      PlayerFunctions.sendMessage(plr,C.FLAG_ADDED);
      PlotListener.plotEntry(plr,plot);
      return true;
    }
 catch (    final Exception e) {
      PlayerFunctions.sendMessage(plr,"String_Node_Str" + e.getMessage());
      return false;
    }
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      PlayerFunctions.sendMessage(plr,C.MISSING_POSITION);
      return false;
    }
    PlotHomePosition position=null;
    for (    final PlotHomePosition p : PlotHomePosition.values()) {
      if (p.isMatching(args[1])) {
        position=p;
      }
    }
    if (position == null) {
      PlayerFunctions.sendMessage(plr,C.INVALID_POSITION);
      return false;
    }
    DBFunc.setPosition(plr.getWorld().getName(),plot,position.toString());
    PlayerFunctions.sendMessage(plr,C.POSITION_SET);
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      PlayerFunctions.sendMessage(plr,C.MISSING_ALIAS);
      return false;
    }
    final String alias=args[1];
    if (alias.length() >= 50) {
      PlayerFunctions.sendMessage(plr,C.ALIAS_TOO_LONG);
      return false;
    }
    for (    final Plot p : PlotMain.getPlots(plr.getWorld()).values()) {
      if (p.settings.getAlias().equalsIgnoreCase(alias)) {
        PlayerFunctions.sendMessage(plr,C.ALIAS_IS_TAKEN);
        return false;
      }
      if (Bukkit.getOfflinePlayer(alias).hasPlayedBefore()) {
        PlayerFunctions.sendMessage(plr,C.ALIAS_IS_TAKEN);
        return false;
      }
    }
    DBFunc.setAlias(plr.getWorld().getName(),plot,alias);
    PlayerFunctions.sendMessage(plr,C.ALIAS_SET_TO.s().replaceAll("String_Node_Str",alias));
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      PlayerFunctions.sendMessage(plr,C.NEED_BIOME);
      return true;
    }
    if (args[1].length() < 2) {
      sendMessage(plr,C.NAME_LITTLE,"String_Node_Str",args[1].length() + "String_Node_Str","String_Node_Str");
      return true;
    }
    final Biome biome=Biome.valueOf(new StringComparison(args[1],Biome.values()).getBestMatch());
    if (biome == null) {
      PlayerFunctions.sendMessage(plr,getBiomeList(Arrays.asList(Biome.values())));
      return true;
    }
    PlotHelper.setBiome(plr.getWorld(),plot,biome);
    PlayerFunctions.sendMessage(plr,C.BIOME_SET_TO.s() + biome.toString().toLowerCase());
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    final PlotWorld plotworld=PlotMain.getWorldSettings(plr.getWorld());
    if (plotworld == null) {
      PlayerFunctions.sendMessage(plr,C.NOT_IN_PLOT_WORLD);
      return true;
    }
    if (args.length < 2) {
      PlayerFunctions.sendMessage(plr,C.NEED_BLOCK);
      return true;
    }
    if (args[1].length() < 2) {
      sendMessage(plr,C.NAME_LITTLE,"String_Node_Str",args[1].length() + "String_Node_Str","String_Node_Str");
      return true;
    }
    Material material;
    try {
      material=getMaterial(args[1],PlotWorld.BLOCKS);
    }
 catch (    final NullPointerException e) {
      material=null;
    }
    if (material == null) {
      PlayerFunctions.sendMessage(plr,getBlockList(PlotWorld.BLOCKS));
      return true;
    }
    byte data=0;
    if (args.length > 2) {
      try {
        data=(byte)Integer.parseInt(args[2]);
      }
 catch (      final Exception e) {
        PlayerFunctions.sendMessage(plr,C.NOT_VALID_DATA);
        return true;
      }
    }
    PlayerFunctions.sendMessage(plr,C.GENERATING_WALL);
    PlotHelper.adjustWall(plr,plot,new PlotBlock((short)material.getId(),data));
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      PlayerFunctions.sendMessage(plr,C.NEED_BLOCK);
      return true;
    }
    final PlotWorld plotworld=PlotMain.getWorldSettings(plr.getWorld());
    if (plotworld == null) {
      PlayerFunctions.sendMessage(plr,C.NOT_IN_PLOT_WORLD);
      return true;
    }
    @SuppressWarnings("String_Node_Str") final ArrayList<Material> materials=(ArrayList<Material>)((ArrayList<Material>)PlotWorld.BLOCKS).clone();
    materials.add(Material.AIR);
    final String[] strings=args[1].split("String_Node_Str");
    int index=0;
    Material m;
    final PlotBlock[] blocks=new PlotBlock[strings.length];
    for (    String s : strings) {
      s=s.replaceAll("String_Node_Str","String_Node_Str");
      final String[] ss=s.split("String_Node_Str");
      ss[0]=ss[0].replaceAll("String_Node_Str","String_Node_Str");
      if (ss[0].length() < 2) {
        sendMessage(plr,C.NAME_LITTLE,"String_Node_Str",ss[0].length() + "String_Node_Str","String_Node_Str");
        return true;
      }
      m=getMaterial(ss[0],materials);
      if (m == null) {
        PlayerFunctions.sendMessage(plr,C.NOT_VALID_BLOCK);
        return true;
      }
      if (ss.length == 1) {
        blocks[index]=new PlotBlock((short)m.getId(),(byte)0);
      }
 else {
        byte b;
        try {
          b=(byte)Integer.parseInt(ss[1]);
        }
 catch (        final Exception e) {
          PlayerFunctions.sendMessage(plr,C.NOT_VALID_DATA);
          return true;
        }
        blocks[index]=new PlotBlock((short)m.getId(),b);
      }
      index++;
    }
    PlotHelper.setFloor(plr,plot,blocks);
    return true;
  }
  if (args[0].equalsIgnoreCase("String_Node_Str")) {
    if (args.length < 2) {
      PlayerFunctions.sendMessage(plr,C.NEED_BLOCK);
      return true;
    }
    final PlotWorld plotworld=PlotMain.getWorldSettings(plr.getWorld());
    if (plotworld == null) {
      PlayerFunctions.sendMessage(plr,C.NOT_IN_PLOT_WORLD);
      return true;
    }
    if (args[1].length() < 2) {
      sendMessage(plr,C.NAME_LITTLE,"String_Node_Str",args[1].length() + "String_Node_Str","String_Node_Str");
      return true;
    }
    final Material material=getMaterial(args[1],PlotWorld.BLOCKS);
    if (material == null) {
      PlayerFunctions.sendMessage(plr,getBlockList(PlotWorld.BLOCKS));
      return true;
    }
    byte data=0;
    if (args.length > 2) {
      try {
        data=(byte)Integer.parseInt(args[2]);
      }
 catch (      final Exception e) {
        PlayerFunctions.sendMessage(plr,C.NOT_VALID_DATA);
        return true;
      }
    }
    PlotHelper.adjustWallFilling(plr,plot,new PlotBlock((short)material.getId(),data));
    return true;
  }
{
    AbstractFlag af;
    try {
      af=new AbstractFlag(args[0].toLowerCase());
    }
 catch (    final Exception e) {
      af=new AbstractFlag("String_Node_Str");
    }
    if (FlagManager.getFlags().contains(af)) {
      final StringBuilder a=new StringBuilder();
      if (args.length > 1) {
        for (int x=1; x < args.length; x++) {
          a.append("String_Node_Str").append(args[x]);
        }
      }
      plr.performCommand("String_Node_Str" + args[0] + a.toString());
      return true;
    }
  }
  PlayerFunctions.sendMessage(plr,C.SUBCOMMAND_SET_OPTIONS_HEADER.s() + getArgumentList(values));
  return false;
}