Program: 187559
Project: 187559
Buggy source:
public void onEnable(){
  plugin=this;
  this.isReady=false;
  MyPetVersion.reset();
  MyPetLogger.setConsole(getServer().getConsoleSender());
  new File(getPlugin().getDataFolder().getAbsolutePath() + File.separator + "String_Node_Str"+ File.separator).mkdirs();
  File delCraftBukkit=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str");
  if (delCraftBukkit.exists()) {
    delCraftBukkit.delete();
  }
  MyPetPvP.reset();
  MyPetEconomy.reset();
  MyPetConfiguration.config=this.getConfig();
  MyPetConfiguration.setDefault();
  MyPetConfiguration.loadConfiguration();
  DebugLogger.setup(MyPetConfiguration.USE_DEBUG_LOGGER);
  String minecraftVersion=((CraftServer)getServer()).getHandle().getServer().getVersion();
  if (!MyPetVersion.getMinecraftVersion().equalsIgnoreCase(minecraftVersion)) {
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetLogger.write(ChatColor.RED + "String_Node_Str" + MyPetVersion.getMinecraftVersion());
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    DebugLogger.warning("String_Node_Str");
    DebugLogger.warning("String_Node_Str");
    DebugLogger.warning("String_Node_Str" + MyPetVersion.getMinecraftVersion());
    DebugLogger.warning("String_Node_Str");
    DebugLogger.warning("String_Node_Str");
    checkForUpdates(minecraftVersion);
    this.setEnabled(false);
    return;
  }
  DebugLogger.info("String_Node_Str");
  DebugLogger.info("String_Node_Str" + MyPetVersion.getMyPetVersion() + "String_Node_Str"+ MyPetVersion.getMyPetBuild());
  DebugLogger.info("String_Node_Str" + getServer().getVersion());
  DebugLogger.info("String_Node_Str" + Arrays.toString(getServer().getPluginManager().getPlugins()));
  checkForUpdates(MyPetVersion.getMinecraftVersion());
  DebugLogger.info("String_Node_Str");
  for (  MyPetMonsterExperience monsterExperience : MyPetMonsterExperience.mobExp.values()) {
    DebugLogger.info("String_Node_Str" + monsterExperience.toString());
  }
  DebugLogger.info("String_Node_Str");
  MyPetPlayerListener playerListener=new MyPetPlayerListener();
  getServer().getPluginManager().registerEvents(playerListener,this);
  MyPetVehicleListener vehicleListener=new MyPetVehicleListener();
  getServer().getPluginManager().registerEvents(vehicleListener,this);
  MyPetEntityListener entityListener=new MyPetEntityListener();
  getServer().getPluginManager().registerEvents(entityListener,this);
  MyPetLevelUpListener levelupListener=new MyPetLevelUpListener();
  getServer().getPluginManager().registerEvents(levelupListener,this);
  MyPetWeatherListener weatherListener=new MyPetWeatherListener();
  getServer().getPluginManager().registerEvents(weatherListener,this);
  MyPetBlockListener blockListener=new MyPetBlockListener();
  getServer().getPluginManager().registerEvents(blockListener,this);
  getCommand("String_Node_Str").setExecutor(new CommandName());
  getCommand("String_Node_Str").setExecutor(new CommandCall());
  getCommand("String_Node_Str").setExecutor(new CommandSendAway());
  getCommand("String_Node_Str").setExecutor(new CommandStop());
  getCommand("String_Node_Str").setExecutor(new CommandRelease());
  getCommand("String_Node_Str").setExecutor(new CommandHelp());
  getCommand("String_Node_Str").setExecutor(new CommandInventory());
  getCommand("String_Node_Str").setExecutor(new CommandPickup());
  getCommand("String_Node_Str").setExecutor(new CommandBehavior());
  getCommand("String_Node_Str").setExecutor(new CommandInfo());
  getCommand("String_Node_Str").setExecutor(new CommandAdmin());
  getCommand("String_Node_Str").setExecutor(new CommandSkill());
  getCommand("String_Node_Str").setExecutor(new CommandShowSkillTree());
  getCommand("String_Node_Str").setExecutor(new CommandChooseSkilltree());
  getCommand("String_Node_Str").setExecutor(new CommandBeacon());
  getCommand("String_Node_Str").setExecutor(new CommandRespawn());
  registerSkillsInfo();
  registerSkills();
  File defaultSkillConfigNBT=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str");
  File defaultSkillConfigYAML=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str");
  File defaultSkillConfigJSON=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str");
  if (!defaultSkillConfigNBT.exists() && !defaultSkillConfigYAML.exists() && !defaultSkillConfigJSON.exists()) {
    try {
      InputStream template=getPlugin().getResource("String_Node_Str");
      OutputStream out=new FileOutputStream(defaultSkillConfigNBT);
      byte[] buf=new byte[1024];
      int len;
      while ((len=template.read(buf)) > 0) {
        out.write(buf,0,len);
      }
      template.close();
      out.close();
      MyPetLogger.write("String_Node_Str");
      DebugLogger.info("String_Node_Str");
    }
 catch (    IOException ex) {
      MyPetLogger.write(ChatColor.RED + "String_Node_Str" + ChatColor.RESET+ "String_Node_Str");
      DebugLogger.info("String_Node_Str");
    }
  }
  String[] petTypes=new String[MyPetType.values().length];
  for (int i=0; i < MyPetType.values().length; i++) {
    petTypes[i]=MyPetType.values()[i].getTypeName();
  }
  MyPetSkillTreeMobType.clearMobTypes();
  MyPetSkillTreeLoaderNBT.getSkilltreeLoader().loadSkillTrees(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str",petTypes);
  MyPetSkillTreeLoaderYAML.getSkilltreeLoader().loadSkillTrees(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str",petTypes);
  MyPetSkillTreeLoaderJSON.getSkilltreeLoader().loadSkillTrees(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str",petTypes);
  try {
    Method a=EntityTypes.class.getDeclaredMethod("String_Node_Str",Class.class,String.class,Integer.TYPE);
    a.setAccessible(true);
    a.invoke(a,EntityMyCreeper.class,"String_Node_Str",50);
    a.invoke(a,EntityCreeper.class,"String_Node_Str",50);
    a.invoke(a,EntityMySkeleton.class,"String_Node_Str",51);
    a.invoke(a,EntitySkeleton.class,"String_Node_Str",51);
    a.invoke(a,EntityMySpider.class,"String_Node_Str",52);
    a.invoke(a,EntitySpider.class,"String_Node_Str",52);
    a.invoke(a,EntityMyGiant.class,"String_Node_Str",53);
    a.invoke(a,EntityGiantZombie.class,"String_Node_Str",53);
    a.invoke(a,EntityMyZombie.class,"String_Node_Str",54);
    a.invoke(a,EntityZombie.class,"String_Node_Str",54);
    a.invoke(a,EntityMySlime.class,"String_Node_Str",55);
    a.invoke(a,EntitySlime.class,"String_Node_Str",55);
    a.invoke(a,EntityMyPigZombie.class,"String_Node_Str",57);
    a.invoke(a,EntityPigZombie.class,"String_Node_Str",57);
    a.invoke(a,EntityMyEnderman.class,"String_Node_Str",58);
    a.invoke(a,EntityEnderman.class,"String_Node_Str",58);
    a.invoke(a,EntityMyCaveSpider.class,"String_Node_Str",59);
    a.invoke(a,EntityCaveSpider.class,"String_Node_Str",59);
    a.invoke(a,EntityMySilverfish.class,"String_Node_Str",60);
    a.invoke(a,EntitySilverfish.class,"String_Node_Str",60);
    a.invoke(a,EntityMyBlaze.class,"String_Node_Str",61);
    a.invoke(a,EntityBlaze.class,"String_Node_Str",61);
    a.invoke(a,EntityMyMagmaCube.class,"String_Node_Str",62);
    a.invoke(a,EntityMagmaCube.class,"String_Node_Str",62);
    a.invoke(a,EntityMyWither.class,"String_Node_Str",64);
    a.invoke(a,EntityWither.class,"String_Node_Str",64);
    a.invoke(a,EntityMyBat.class,"String_Node_Str",65);
    a.invoke(a,EntityBat.class,"String_Node_Str",65);
    a.invoke(a,EntityMyWitch.class,"String_Node_Str",66);
    a.invoke(a,EntityWitch.class,"String_Node_Str",66);
    a.invoke(a,EntityMyPig.class,"String_Node_Str",90);
    a.invoke(a,EntityPig.class,"String_Node_Str",90);
    a.invoke(a,EntityMySheep.class,"String_Node_Str",91);
    a.invoke(a,EntitySheep.class,"String_Node_Str",91);
    a.invoke(a,EntityMyCow.class,"String_Node_Str",92);
    a.invoke(a,EntityCow.class,"String_Node_Str",92);
    a.invoke(a,EntityMyChicken.class,"String_Node_Str",93);
    a.invoke(a,EntityChicken.class,"String_Node_Str",93);
    a.invoke(a,EntityMyWolf.class,"String_Node_Str",95);
    a.invoke(a,EntityWolf.class,"String_Node_Str",95);
    a.invoke(a,EntityMyMooshroom.class,"String_Node_Str",96);
    a.invoke(a,EntityMushroomCow.class,"String_Node_Str",96);
    a.invoke(a,EntityMySnowman.class,"String_Node_Str",97);
    a.invoke(a,EntitySnowman.class,"String_Node_Str",97);
    a.invoke(a,EntityMyOcelot.class,"String_Node_Str",98);
    a.invoke(a,EntityOcelot.class,"String_Node_Str",98);
    a.invoke(a,EntityMyIronGolem.class,"String_Node_Str",99);
    a.invoke(a,EntityIronGolem.class,"String_Node_Str",99);
    a.invoke(a,EntityMyVillager.class,"String_Node_Str",120);
    a.invoke(a,EntityVillager.class,"String_Node_Str",120);
    DebugLogger.info("String_Node_Str");
  }
 catch (  Exception e) {
    MyPetLogger.write("String_Node_Str" + MyPetPlugin.plugin.getDescription().getVersion() + ChatColor.RED+ "String_Node_Str");
    e.printStackTrace();
    DebugLogger.severe("String_Node_Str");
    DebugLogger.severe(e.getMessage());
    setEnabled(false);
    return;
  }
  DebugLogger.info("String_Node_Str");
  for (  MyPetType myPetType : MyPetType.values()) {
    DebugLogger.info("String_Node_Str" + myPetType.getTypeName() + "String_Node_Str"+ "String_Node_Str"+ MyPet.getStartHP(myPetType.getMyPetClass())+ "String_Node_Str"+ "String_Node_Str"+ MyPet.getStartSpeed(myPetType.getMyPetClass())+ "String_Node_Str"+ "String_Node_Str"+ MyPet.getFood(myPetType.getMyPetClass())+ "String_Node_Str"+ "String_Node_Str"+ MyPet.getLeashFlags(myPetType.getMyPetClass())+ "String_Node_Str");
  }
  language=new MyPetLanguage(new YAML_Configuration(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"));
  language.load();
  NBTPetFile=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str");
  if (NBTPetFile.exists()) {
    NBTPetFile.renameTo(new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"));
    NBTPetFile=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str");
    loadMyWolfWolves(NBTPetFile);
  }
  NBTPetFile=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str");
  loadPets(NBTPetFile);
  timer.startTimer();
  DebugLogger.info("String_Node_Str");
  for (  MyPetPlayer myPetPlayer : MyPetPlayer.getMyPetPlayers()) {
    DebugLogger.info("String_Node_Str" + myPetPlayer.toString());
  }
  DebugLogger.info("String_Node_Str");
  if (MyPetConfiguration.SEND_METRICS) {
    DebugLogger.info("String_Node_Str");
    try {
      Metrics metrics=new Metrics(this);
      Graph graphPercent=metrics.createGraph("String_Node_Str");
      Graph graphCount=metrics.createGraph("String_Node_Str");
      Graph graphTotalCount=metrics.createGraph("String_Node_Str");
      for (      final MyPetType petType : MyPetType.values()) {
        Plotter plotter=new Metrics.Plotter(petType.getTypeName()){
          final MyPetType type=petType;
          @Override public int getValue(){
            return MyPetList.countMyPets(type);
          }
        }
;
        graphPercent.addPlotter(plotter);
        graphCount.addPlotter(plotter);
      }
      Plotter plotter=new Metrics.Plotter("String_Node_Str"){
        @Override public int getValue(){
          return MyPetList.countMyPets();
        }
      }
;
      graphTotalCount.addPlotter(plotter);
      metrics.start();
    }
 catch (    IOException e) {
      MyPetLogger.write(e.getMessage());
    }
  }
 else {
    DebugLogger.info("String_Node_Str");
  }
  HeroesDamageFix.reset();
  AncientRpgDamageFix.findAncientRpgPlugin();
  DebugLogger.info("String_Node_Str" + MyPetVersion.getMyPetVersion() + "String_Node_Str"+ MyPetVersion.getMyPetBuild()+ "String_Node_Str");
  MyPetLogger.write("String_Node_Str" + MyPetVersion.getMyPetVersion() + "String_Node_Str"+ MyPetVersion.getMyPetBuild()+ ChatColor.GREEN+ "String_Node_Str");
  for (  Player player : getServer().getOnlinePlayers()) {
    if (MyPetPlayer.isMyPetPlayer(player)) {
      MyPetPlayer myPetPlayer=MyPetPlayer.getMyPetPlayer(player);
      if (myPetPlayer.hasMyPet()) {
        if (!MyPetPermissions.has(player,"String_Node_Str" + MyPetList.getMyPet(player).getPetType().getTypeName())) {
          MyPetList.setMyPetInactive(player);
        }
      }
      if (!myPetPlayer.hasMyPet() && myPetPlayer.hasInactiveMyPets()) {
        IMyPet myPet=MyPetList.getLastActiveMyPet(myPetPlayer);
        if (myPet == null || myPet instanceof MyPet) {
          for (          InactiveMyPet inactiveMyPet : MyPetList.getInactiveMyPets(player)) {
            if (MyPetPermissions.has(player,"String_Node_Str" + inactiveMyPet.getPetType().getTypeName())) {
              MyPetList.setMyPetActive(inactiveMyPet);
              break;
            }
          }
        }
 else         if (myPet instanceof InactiveMyPet) {
          if (MyPetPermissions.has(player,"String_Node_Str" + myPet.getPetType().getTypeName())) {
            MyPetList.setMyPetActive((InactiveMyPet)myPet);
          }
        }
      }
      if (myPetPlayer.hasMyPet()) {
        DebugLogger.info("String_Node_Str" + MyPetList.hasMyPet(player));
        MyPet myPet=MyPetList.getMyPet(player);
        if (myPet.getStatus() == PetState.Dead) {
          player.sendMessage(MyPetBukkitUtil.setColors(MyPetLanguage.getString("String_Node_Str").replace("String_Node_Str",myPet.petName).replace("String_Node_Str","String_Node_Str" + myPet.respawnTime)));
        }
 else         if (myPet.getLocation().getWorld() == player.getLocation().getWorld() && myPet.getLocation().distance(player.getLocation()) < 75) {
          myPet.createPet();
        }
 else {
          myPet.status=PetState.Despawned;
        }
      }
    }
  }
  this.isReady=true;
  DebugLogger.info("String_Node_Str");
}

Fixed version (ground truth):
public void onEnable(){
  plugin=this;
  this.isReady=false;
  MyPetVersion.reset();
  MyPetLogger.setConsole(getServer().getConsoleSender());
  new File(getPlugin().getDataFolder().getAbsolutePath() + File.separator + "String_Node_Str"+ File.separator).mkdirs();
  File delCraftBukkit=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str");
  if (delCraftBukkit.exists()) {
    delCraftBukkit.delete();
  }
  MyPetPvP.reset();
  MyPetEconomy.reset();
  MyPetConfiguration.config=this.getConfig();
  MyPetConfiguration.setDefault();
  MyPetConfiguration.loadConfiguration();
  DebugLogger.setup(MyPetConfiguration.USE_DEBUG_LOGGER);
  String minecraftVersion=((CraftServer)getServer()).getHandle().getServer().getVersion();
  if (!MyPetVersion.getMinecraftVersion().equalsIgnoreCase(minecraftVersion)) {
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetLogger.write(ChatColor.RED + "String_Node_Str" + MyPetVersion.getMinecraftVersion());
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    DebugLogger.warning("String_Node_Str");
    DebugLogger.warning("String_Node_Str");
    DebugLogger.warning("String_Node_Str" + MyPetVersion.getMinecraftVersion());
    DebugLogger.warning("String_Node_Str");
    DebugLogger.warning("String_Node_Str");
    checkForUpdates(minecraftVersion);
    this.setEnabled(false);
    return;
  }
  DebugLogger.info("String_Node_Str");
  DebugLogger.info("String_Node_Str" + MyPetVersion.getMyPetVersion() + "String_Node_Str"+ MyPetVersion.getMyPetBuild());
  DebugLogger.info("String_Node_Str" + getServer().getVersion());
  DebugLogger.info("String_Node_Str" + Arrays.toString(getServer().getPluginManager().getPlugins()));
  checkForUpdates(MyPetVersion.getMinecraftVersion());
  DebugLogger.info("String_Node_Str");
  for (  MyPetMonsterExperience monsterExperience : MyPetMonsterExperience.mobExp.values()) {
    DebugLogger.info("String_Node_Str" + monsterExperience.toString());
  }
  DebugLogger.info("String_Node_Str");
  MyPetPlayerListener playerListener=new MyPetPlayerListener();
  getServer().getPluginManager().registerEvents(playerListener,this);
  MyPetVehicleListener vehicleListener=new MyPetVehicleListener();
  getServer().getPluginManager().registerEvents(vehicleListener,this);
  MyPetEntityListener entityListener=new MyPetEntityListener();
  getServer().getPluginManager().registerEvents(entityListener,this);
  MyPetLevelUpListener levelupListener=new MyPetLevelUpListener();
  getServer().getPluginManager().registerEvents(levelupListener,this);
  MyPetWeatherListener weatherListener=new MyPetWeatherListener();
  getServer().getPluginManager().registerEvents(weatherListener,this);
  MyPetBlockListener blockListener=new MyPetBlockListener();
  getServer().getPluginManager().registerEvents(blockListener,this);
  getCommand("String_Node_Str").setExecutor(new CommandName());
  getCommand("String_Node_Str").setExecutor(new CommandCall());
  getCommand("String_Node_Str").setExecutor(new CommandSendAway());
  getCommand("String_Node_Str").setExecutor(new CommandStop());
  getCommand("String_Node_Str").setExecutor(new CommandRelease());
  getCommand("String_Node_Str").setExecutor(new CommandHelp());
  getCommand("String_Node_Str").setExecutor(new CommandInventory());
  getCommand("String_Node_Str").setExecutor(new CommandPickup());
  getCommand("String_Node_Str").setExecutor(new CommandBehavior());
  getCommand("String_Node_Str").setExecutor(new CommandInfo());
  getCommand("String_Node_Str").setExecutor(new CommandAdmin());
  getCommand("String_Node_Str").setExecutor(new CommandSkill());
  getCommand("String_Node_Str").setExecutor(new CommandShowSkillTree());
  getCommand("String_Node_Str").setExecutor(new CommandChooseSkilltree());
  getCommand("String_Node_Str").setExecutor(new CommandBeacon());
  getCommand("String_Node_Str").setExecutor(new CommandRespawn());
  registerSkillsInfo();
  registerSkills();
  File defaultSkillConfigNBT=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str");
  File defaultSkillConfigYAML=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str");
  File defaultSkillConfigJSON=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str");
  if (!defaultSkillConfigNBT.exists() && !defaultSkillConfigYAML.exists() && !defaultSkillConfigJSON.exists()) {
    try {
      InputStream template=getPlugin().getResource("String_Node_Str");
      OutputStream out=new FileOutputStream(defaultSkillConfigNBT);
      byte[] buf=new byte[1024];
      int len;
      while ((len=template.read(buf)) > 0) {
        out.write(buf,0,len);
      }
      template.close();
      out.close();
      MyPetLogger.write("String_Node_Str");
      DebugLogger.info("String_Node_Str");
    }
 catch (    IOException ex) {
      MyPetLogger.write(ChatColor.RED + "String_Node_Str" + ChatColor.RESET+ "String_Node_Str");
      DebugLogger.info("String_Node_Str");
    }
  }
  String[] petTypes=new String[MyPetType.values().length];
  for (int i=0; i < MyPetType.values().length; i++) {
    petTypes[i]=MyPetType.values()[i].getTypeName();
  }
  MyPetSkillTreeMobType.clearMobTypes();
  MyPetSkillTreeLoaderNBT.getSkilltreeLoader().loadSkillTrees(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str",petTypes);
  MyPetSkillTreeLoaderYAML.getSkilltreeLoader().loadSkillTrees(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str",petTypes);
  MyPetSkillTreeLoaderJSON.getSkilltreeLoader().loadSkillTrees(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str",petTypes);
  try {
    Method a=EntityTypes.class.getDeclaredMethod("String_Node_Str",Class.class,String.class,Integer.TYPE);
    a.setAccessible(true);
    a.invoke(a,EntityMyCreeper.class,"String_Node_Str",50);
    a.invoke(a,EntityCreeper.class,"String_Node_Str",50);
    a.invoke(a,EntityMySkeleton.class,"String_Node_Str",51);
    a.invoke(a,EntitySkeleton.class,"String_Node_Str",51);
    a.invoke(a,EntityMySpider.class,"String_Node_Str",52);
    a.invoke(a,EntitySpider.class,"String_Node_Str",52);
    a.invoke(a,EntityMyGiant.class,"String_Node_Str",53);
    a.invoke(a,EntityGiantZombie.class,"String_Node_Str",53);
    a.invoke(a,EntityMyZombie.class,"String_Node_Str",54);
    a.invoke(a,EntityZombie.class,"String_Node_Str",54);
    a.invoke(a,EntityMySlime.class,"String_Node_Str",55);
    a.invoke(a,EntitySlime.class,"String_Node_Str",55);
    a.invoke(a,EntityMyPigZombie.class,"String_Node_Str",57);
    a.invoke(a,EntityPigZombie.class,"String_Node_Str",57);
    a.invoke(a,EntityMyEnderman.class,"String_Node_Str",58);
    a.invoke(a,EntityEnderman.class,"String_Node_Str",58);
    a.invoke(a,EntityMyCaveSpider.class,"String_Node_Str",59);
    a.invoke(a,EntityCaveSpider.class,"String_Node_Str",59);
    a.invoke(a,EntityMySilverfish.class,"String_Node_Str",60);
    a.invoke(a,EntitySilverfish.class,"String_Node_Str",60);
    a.invoke(a,EntityMyBlaze.class,"String_Node_Str",61);
    a.invoke(a,EntityBlaze.class,"String_Node_Str",61);
    a.invoke(a,EntityMyMagmaCube.class,"String_Node_Str",62);
    a.invoke(a,EntityMagmaCube.class,"String_Node_Str",62);
    a.invoke(a,EntityMyWither.class,"String_Node_Str",64);
    a.invoke(a,EntityWither.class,"String_Node_Str",64);
    a.invoke(a,EntityMyBat.class,"String_Node_Str",65);
    a.invoke(a,EntityBat.class,"String_Node_Str",65);
    a.invoke(a,EntityMyWitch.class,"String_Node_Str",66);
    a.invoke(a,EntityWitch.class,"String_Node_Str",66);
    a.invoke(a,EntityMyPig.class,"String_Node_Str",90);
    a.invoke(a,EntityPig.class,"String_Node_Str",90);
    a.invoke(a,EntityMySheep.class,"String_Node_Str",91);
    a.invoke(a,EntitySheep.class,"String_Node_Str",91);
    a.invoke(a,EntityMyCow.class,"String_Node_Str",92);
    a.invoke(a,EntityCow.class,"String_Node_Str",92);
    a.invoke(a,EntityMyChicken.class,"String_Node_Str",93);
    a.invoke(a,EntityChicken.class,"String_Node_Str",93);
    a.invoke(a,EntityMyWolf.class,"String_Node_Str",95);
    a.invoke(a,EntityWolf.class,"String_Node_Str",95);
    a.invoke(a,EntityMyMooshroom.class,"String_Node_Str",96);
    a.invoke(a,EntityMushroomCow.class,"String_Node_Str",96);
    a.invoke(a,EntityMySnowman.class,"String_Node_Str",97);
    a.invoke(a,EntitySnowman.class,"String_Node_Str",97);
    a.invoke(a,EntityMyOcelot.class,"String_Node_Str",98);
    a.invoke(a,EntityOcelot.class,"String_Node_Str",98);
    a.invoke(a,EntityMyIronGolem.class,"String_Node_Str",99);
    a.invoke(a,EntityIronGolem.class,"String_Node_Str",99);
    a.invoke(a,EntityMyVillager.class,"String_Node_Str",120);
    a.invoke(a,EntityVillager.class,"String_Node_Str",120);
    DebugLogger.info("String_Node_Str");
  }
 catch (  Exception e) {
    MyPetLogger.write("String_Node_Str" + MyPetPlugin.plugin.getDescription().getVersion() + ChatColor.RED+ "String_Node_Str");
    e.printStackTrace();
    DebugLogger.severe("String_Node_Str");
    DebugLogger.severe(e.getMessage());
    setEnabled(false);
    return;
  }
  DebugLogger.info("String_Node_Str");
  for (  MyPetType myPetType : MyPetType.values()) {
    DebugLogger.info("String_Node_Str" + myPetType.getTypeName() + "String_Node_Str"+ "String_Node_Str"+ MyPet.getStartHP(myPetType.getMyPetClass())+ "String_Node_Str"+ "String_Node_Str"+ MyPet.getStartSpeed(myPetType.getMyPetClass())+ "String_Node_Str"+ "String_Node_Str"+ MyPet.getFood(myPetType.getMyPetClass())+ "String_Node_Str"+ "String_Node_Str"+ MyPet.getLeashFlags(myPetType.getMyPetClass())+ "String_Node_Str");
  }
  language=new MyPetLanguage(new YAML_Configuration(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"));
  language.load();
  NBTPetFile=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str");
  if (NBTPetFile.exists()) {
    NBTPetFile.renameTo(new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"));
    NBTPetFile=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str");
    loadMyWolfWolves(NBTPetFile);
  }
  NBTPetFile=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str");
  loadPets(NBTPetFile);
  timer.startTimer();
  DebugLogger.info("String_Node_Str");
  for (  MyPetPlayer myPetPlayer : MyPetPlayer.getMyPetPlayers()) {
    DebugLogger.info("String_Node_Str" + myPetPlayer.toString());
  }
  DebugLogger.info("String_Node_Str");
  if (MyPetConfiguration.SEND_METRICS) {
    DebugLogger.info("String_Node_Str");
    try {
      Metrics metrics=new Metrics(this);
      Graph graphPercent=metrics.createGraph("String_Node_Str");
      Graph graphCount=metrics.createGraph("String_Node_Str");
      Graph graphTotalCount=metrics.createGraph("String_Node_Str");
      for (      final MyPetType petType : MyPetType.values()) {
        Plotter plotter=new Metrics.Plotter(petType.getTypeName()){
          final MyPetType type=petType;
          @Override public int getValue(){
            return MyPetList.countMyPets(type);
          }
        }
;
        graphPercent.addPlotter(plotter);
        graphCount.addPlotter(plotter);
      }
      Plotter plotter=new Metrics.Plotter("String_Node_Str"){
        @Override public int getValue(){
          return MyPetList.countMyPets();
        }
      }
;
      graphTotalCount.addPlotter(plotter);
      metrics.start();
    }
 catch (    IOException e) {
      MyPetLogger.write(e.getMessage());
    }
  }
 else {
    DebugLogger.info("String_Node_Str");
  }
  HeroesDamageFix.reset();
  AncientRpgDamageFix.findAncientRpgPlugin();
  DebugLogger.info("String_Node_Str" + MyPetVersion.getMyPetVersion() + "String_Node_Str"+ MyPetVersion.getMyPetBuild()+ "String_Node_Str");
  MyPetLogger.write("String_Node_Str" + MyPetVersion.getMyPetVersion() + "String_Node_Str"+ MyPetVersion.getMyPetBuild()+ ChatColor.GREEN+ "String_Node_Str");
  for (  Player player : getServer().getOnlinePlayers()) {
    if (MyPetPlayer.isMyPetPlayer(player)) {
      MyPetPlayer myPetPlayer=MyPetPlayer.getMyPetPlayer(player);
      if (myPetPlayer.hasMyPet()) {
        if (!MyPetPermissions.has(player,"String_Node_Str" + MyPetList.getMyPet(player).getPetType().getTypeName())) {
          MyPetList.setMyPetInactive(player);
        }
      }
      if (!myPetPlayer.hasMyPet() && myPetPlayer.hasInactiveMyPets()) {
        IMyPet myPet=MyPetList.getLastActiveMyPet(myPetPlayer);
        if (myPet == null || myPet instanceof MyPet) {
          for (          InactiveMyPet inactiveMyPet : MyPetList.getInactiveMyPets(player)) {
            if (MyPetPermissions.has(player,"String_Node_Str" + inactiveMyPet.getPetType().getTypeName())) {
              MyPetList.setMyPetActive(inactiveMyPet);
              break;
            }
          }
        }
 else         if (myPet instanceof InactiveMyPet) {
          if (MyPetPermissions.has(player,"String_Node_Str" + myPet.getPetType().getTypeName())) {
            MyPetList.setMyPetActive((InactiveMyPet)myPet);
          }
        }
      }
      if (myPetPlayer.hasMyPet()) {
        DebugLogger.info("String_Node_Str" + MyPetList.hasMyPet(player));
        MyPet myPet=MyPetList.getMyPet(player);
        if (myPet.getStatus() == PetState.Dead) {
          player.sendMessage(MyPetBukkitUtil.setColors(MyPetLanguage.getString("String_Node_Str").replace("String_Node_Str",myPet.petName).replace("String_Node_Str","String_Node_Str" + myPet.respawnTime)));
        }
 else         if (myPet.getLocation().getWorld() == player.getLocation().getWorld() && myPet.getLocation().distance(player.getLocation()) < 75) {
          myPet.createPet();
        }
 else {
          myPet.status=PetState.Despawned;
        }
      }
    }
  }
  this.isReady=true;
  savePets(false);
  DebugLogger.info("String_Node_Str");
}