Program: 34072
Project: 34072
Buggy source:
@Override public void onEnable(){
  plugin=this;
  saveDefaultConfig();
  Challenges.saveDefaultChallengeConfig();
  saveDefaultLocale();
  if (getConfig().getInt("String_Node_Str",-1) < 1) {
    getLogger().severe("String_Node_Str");
    getLogger().severe("String_Node_Str");
    getLogger().severe("String_Node_Str");
    getLogger().severe("String_Node_Str");
    getLogger().severe("String_Node_Str");
    getLogger().severe("String_Node_Str");
    if (Settings.GAMETYPE.equals(Settings.GameType.ASKYBLOCK)) {
      getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.DISTANCE));
      getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.DISTANCE));
      getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.DISTANCE));
    }
 else {
      getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.DISTANCE));
      getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.DISTANCE));
      getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.DISTANCE));
    }
    return;
  }
  loadPluginConfig();
  if (Settings.updateCheck) {
    getServer().getScheduler().runTaskAsynchronously(this,new Runnable(){
      @Override public void run(){
        if (Settings.GAMETYPE.equals(GameType.ASKYBLOCK)) {
          updateCheck=new Update(85189);
        }
 else {
          updateCheck=new Update(80095);
        }
        if (!updateCheck.isSuccess()) {
          updateCheck=null;
        }
      }
    }
);
  }
  if (Settings.useEconomy && !VaultHelper.setupEconomy()) {
    getLogger().warning("String_Node_Str");
    Settings.useEconomy=false;
  }
  if (!VaultHelper.setupPermissions()) {
    getLogger().severe("String_Node_Str");
    getServer().getPluginManager().disablePlugin(this);
    return;
  }
  playersFolder=new File(getDataFolder() + File.separator + "String_Node_Str");
  if (!playersFolder.exists()) {
    playersFolder.mkdir();
  }
  if (Settings.GAMETYPE.equals(Settings.GameType.ASKYBLOCK)) {
    getCommand("String_Node_Str").setExecutor(new IslandCmd(this));
    getCommand("String_Node_Str").setExecutor(getChallenges());
    getCommand("String_Node_Str").setExecutor(new AdminCmd(this));
  }
 else {
    getCommand("String_Node_Str").setExecutor(new IslandCmd(this));
    getCommand("String_Node_Str").setExecutor(getChallenges());
    getCommand("String_Node_Str").setExecutor(new AdminCmd(this));
  }
  Messages.loadMessages();
  registerEvents();
  try {
    final Metrics metrics=new Metrics(this);
    metrics.start();
  }
 catch (  final IOException localIOException) {
  }
  getServer().getScheduler().runTask(this,new Runnable(){
    @Override public void run(){
      getIslandWorld();
      WarpSigns.loadWarpList();
      getServer().getPluginManager().registerEvents(new ControlPanel(plugin),plugin);
      if (getServer().getWorld(Settings.worldName).getGenerator() == null) {
        getLogger().severe("String_Node_Str" + plugin.getName() + "String_Node_Str");
        getLogger().severe("String_Node_Str");
        getLogger().severe("String_Node_Str");
        getLogger().severe("String_Node_Str");
        getLogger().severe("String_Node_Str" + Settings.worldName + "String_Node_Str");
        getLogger().severe("String_Node_Str" + plugin.getName());
        if (Settings.GAMETYPE.equals(Settings.GameType.ASKYBLOCK)) {
          getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.GENERATOR));
          getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.GENERATOR));
          getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.GENERATOR));
        }
 else {
          getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.GENERATOR));
          getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.GENERATOR));
          getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.GENERATOR));
        }
        return;
      }
      getServer().getScheduler().runTask(plugin,new Runnable(){
        @Override public void run(){
          grid=new GridManager(plugin);
          TopTen.topTenLoad();
          getLogger().info("String_Node_Str");
        }
      }
);
      final String pluginVersion=getDescription().getVersion();
      getServer().getScheduler().runTaskLater(plugin,new Runnable(){
        @Override public void run(){
          if (getUpdateCheck() != null) {
            String[] split=getUpdateCheck().getVersionName().split("String_Node_Str");
            if (split.length > 1 && !pluginVersion.equals(split[1])) {
              getLogger().warning(getUpdateCheck().getVersionName() + "String_Node_Str" + pluginVersion);
              if (Settings.GAMETYPE.equals(GameType.ASKYBLOCK)) {
                getLogger().warning("String_Node_Str");
              }
 else {
                getLogger().warning("String_Node_Str");
              }
            }
          }
        }
      }
,80L);
      if (Settings.mobAcidDamage > 0D || Settings.animalAcidDamage > 0D) {
        getServer().getScheduler().scheduleSyncRepeatingTask(plugin,new Runnable(){
          @Override public void run(){
            List<Entity> entList=islandWorld.getEntities();
            for (            Entity current : entList) {
              if ((current instanceof Monster) && Settings.mobAcidDamage > 0D) {
                if ((current.getLocation().getBlock().getType() == Material.WATER) || (current.getLocation().getBlock().getType() == Material.STATIONARY_WATER)) {
                  ((Monster)current).damage(Settings.mobAcidDamage);
                }
              }
 else               if ((current instanceof Animals) && Settings.animalAcidDamage > 0D) {
                if ((current.getLocation().getBlock().getType() == Material.WATER) || (current.getLocation().getBlock().getType() == Material.STATIONARY_WATER)) {
                  if (!current.getType().equals(EntityType.CHICKEN)) {
                    ((Animals)current).damage(Settings.animalAcidDamage);
                  }
 else                   if (Settings.damageChickens) {
                    ((Animals)current).damage(Settings.animalAcidDamage);
                  }
                }
              }
            }
          }
        }
,0L,20L);
      }
    }
  }
);
}

Fixed version (ground truth):
@Override public void onEnable(){
  plugin=this;
  saveDefaultConfig();
  Challenges.saveDefaultChallengeConfig();
  saveDefaultLocale();
  if (getConfig().getInt("String_Node_Str",-1) < 1) {
    getLogger().severe("String_Node_Str");
    getLogger().severe("String_Node_Str");
    getLogger().severe("String_Node_Str");
    getLogger().severe("String_Node_Str");
    getLogger().severe("String_Node_Str");
    getLogger().severe("String_Node_Str");
    if (Settings.GAMETYPE.equals(Settings.GameType.ASKYBLOCK)) {
      getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.DISTANCE));
      getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.DISTANCE));
      getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.DISTANCE));
    }
 else {
      getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.DISTANCE));
      getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.DISTANCE));
      getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.DISTANCE));
    }
    return;
  }
  loadPluginConfig();
  if (Settings.updateCheck) {
    checkUpdates();
  }
  if (Settings.useEconomy && !VaultHelper.setupEconomy()) {
    getLogger().warning("String_Node_Str");
    Settings.useEconomy=false;
  }
  if (!VaultHelper.setupPermissions()) {
    getLogger().severe("String_Node_Str");
    getServer().getPluginManager().disablePlugin(this);
    return;
  }
  playersFolder=new File(getDataFolder() + File.separator + "String_Node_Str");
  if (!playersFolder.exists()) {
    playersFolder.mkdir();
  }
  if (Settings.GAMETYPE.equals(Settings.GameType.ASKYBLOCK)) {
    getCommand("String_Node_Str").setExecutor(new IslandCmd(this));
    getCommand("String_Node_Str").setExecutor(getChallenges());
    getCommand("String_Node_Str").setExecutor(new AdminCmd(this));
  }
 else {
    getCommand("String_Node_Str").setExecutor(new IslandCmd(this));
    getCommand("String_Node_Str").setExecutor(getChallenges());
    getCommand("String_Node_Str").setExecutor(new AdminCmd(this));
  }
  Messages.loadMessages();
  registerEvents();
  try {
    final Metrics metrics=new Metrics(this);
    metrics.start();
  }
 catch (  final IOException localIOException) {
  }
  getServer().getScheduler().runTask(this,new Runnable(){
    @Override public void run(){
      getIslandWorld();
      WarpSigns.loadWarpList();
      getServer().getPluginManager().registerEvents(new ControlPanel(plugin),plugin);
      if (getServer().getWorld(Settings.worldName).getGenerator() == null) {
        getLogger().severe("String_Node_Str" + plugin.getName() + "String_Node_Str");
        getLogger().severe("String_Node_Str");
        getLogger().severe("String_Node_Str");
        getLogger().severe("String_Node_Str");
        getLogger().severe("String_Node_Str" + Settings.worldName + "String_Node_Str");
        getLogger().severe("String_Node_Str" + plugin.getName());
        if (Settings.GAMETYPE.equals(Settings.GameType.ASKYBLOCK)) {
          getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.GENERATOR));
          getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.GENERATOR));
          getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.GENERATOR));
        }
 else {
          getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.GENERATOR));
          getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.GENERATOR));
          getCommand("String_Node_Str").setExecutor(new NotSetup(Reason.GENERATOR));
        }
        return;
      }
      getServer().getScheduler().runTask(plugin,new Runnable(){
        @Override public void run(){
          grid=new GridManager(plugin);
          TopTen.topTenLoad();
          getLogger().info("String_Node_Str");
        }
      }
);
      final String pluginVersion=getDescription().getVersion();
      getServer().getScheduler().runTaskLater(plugin,new Runnable(){
        @Override public void run(){
          if (getUpdateCheck() != null) {
            String[] split=getUpdateCheck().getVersionName().split("String_Node_Str");
            if (split.length > 1 && !pluginVersion.equals(split[1])) {
              getLogger().warning(getUpdateCheck().getVersionName() + "String_Node_Str" + pluginVersion);
              if (Settings.GAMETYPE.equals(GameType.ASKYBLOCK)) {
                getLogger().warning("String_Node_Str");
              }
 else {
                getLogger().warning("String_Node_Str");
              }
            }
          }
        }
      }
,80L);
      if (Settings.mobAcidDamage > 0D || Settings.animalAcidDamage > 0D) {
        getServer().getScheduler().scheduleSyncRepeatingTask(plugin,new Runnable(){
          @Override public void run(){
            List<Entity> entList=islandWorld.getEntities();
            for (            Entity current : entList) {
              if ((current instanceof Monster) && Settings.mobAcidDamage > 0D) {
                if ((current.getLocation().getBlock().getType() == Material.WATER) || (current.getLocation().getBlock().getType() == Material.STATIONARY_WATER)) {
                  ((Monster)current).damage(Settings.mobAcidDamage);
                }
              }
 else               if ((current instanceof Animals) && Settings.animalAcidDamage > 0D) {
                if ((current.getLocation().getBlock().getType() == Material.WATER) || (current.getLocation().getBlock().getType() == Material.STATIONARY_WATER)) {
                  if (!current.getType().equals(EntityType.CHICKEN)) {
                    ((Animals)current).damage(Settings.animalAcidDamage);
                  }
 else                   if (Settings.damageChickens) {
                    ((Animals)current).damage(Settings.animalAcidDamage);
                  }
                }
              }
            }
          }
        }
,0L,20L);
      }
    }
  }
);
}