Program: 187599
Project: 187599
Buggy source:
public void onEnable(){
  plugin=this;
  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();
  }
  MyPetConfig.config=this.getConfig();
  MyPetConfig.setDefault();
  MyPetConfig.loadConfiguration();
  debugLogger=new DebugLogger(MyPetConfig.debugLogger);
  String minecraftVersion=((CraftServer)getServer()).getHandle().getServer().getVersion();
  if (!CompatibleMinecraftVersion.equalsIgnoreCase(minecraftVersion)) {
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetLogger.write(ChatColor.RED + "String_Node_Str" + CompatibleMinecraftVersion);
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetUtil.getDebugLogger().warning("String_Node_Str");
    MyPetUtil.getDebugLogger().warning("String_Node_Str");
    MyPetUtil.getDebugLogger().warning("String_Node_Str" + CompatibleMinecraftVersion);
    MyPetUtil.getDebugLogger().warning("String_Node_Str");
    MyPetUtil.getDebugLogger().warning("String_Node_Str");
    this.setEnabled(false);
    return;
  }
  debugLogger.info("String_Node_Str");
  debugLogger.info("String_Node_Str" + MyPetVersion + "String_Node_Str"+ MyPetBuild);
  debugLogger.info("String_Node_Str" + getServer().getVersion());
  UpdateCheck updateCheck=new UpdateCheck();
  if (MyPetConfig.checkForUpdates) {
    if (updateCheck.isUpdateAvailable(CompatibleMinecraftVersion,MyPetVersion)) {
      MyPetLogger.write(ChatColor.MAGIC + "String_Node_Str" + updateCheck.getLastAvailableUpdate().getTitle());
      MyPetUtil.getDebugLogger().info("String_Node_Str" + updateCheck.getLastAvailableUpdate().getTitle());
    }
 else {
      MyPetUtil.getDebugLogger().info("String_Node_Str");
    }
  }
 else {
    MyPetUtil.getDebugLogger().info("String_Node_Str");
  }
  MyPetUtil.getDebugLogger().info("String_Node_Str");
  for (  EntityType ET : MyPetExperience.mobExp.keySet()) {
    debugLogger.info("String_Node_Str" + MyPetExperience.mobExp.get(ET).toString());
  }
  MyPetUtil.getDebugLogger().info("String_Node_Str");
  MyPetPlayerListener playerListener=new MyPetPlayerListener();
  getServer().getPluginManager().registerEvents(playerListener,getPlugin());
  MyPetVehicleListener vehicleListener=new MyPetVehicleListener();
  getServer().getPluginManager().registerEvents(vehicleListener,getPlugin());
  MyPetWorldListener worldListener=new MyPetWorldListener();
  getServer().getPluginManager().registerEvents(worldListener,getPlugin());
  MyPetEntityListener entityListener=new MyPetEntityListener();
  getServer().getPluginManager().registerEvents(entityListener,getPlugin());
  MyPetLevelUpListener levelupListener=new MyPetLevelUpListener();
  getServer().getPluginManager().registerEvents(levelupListener,getPlugin());
  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());
  if (!MyPetConfig.automaticSkilltreeAssignment) {
    getCommand("String_Node_Str").setExecutor(new CommandChooseSkilltree());
  }
  MyPetSkills.registerSkill(Inventory.class);
  MyPetSkills.registerSkill(HPregeneration.class);
  MyPetSkills.registerSkill(Pickup.class);
  MyPetSkills.registerSkill(Behavior.class);
  MyPetSkills.registerSkill(Damage.class);
  MyPetSkills.registerSkill(Control.class);
  MyPetSkills.registerSkill(HP.class);
  MyPetSkills.registerSkill(Poison.class);
  MyPetSkills.registerSkill(Ride.class);
  MyPetSkills.registerSkill(Thorns.class);
  File defaultSkillConfig=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str");
  if (!defaultSkillConfig.exists()) {
    try {
      InputStream template=getPlugin().getResource("String_Node_Str");
      OutputStream out=new FileOutputStream(defaultSkillConfig);
      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");
    }
  }
  MyPetSkillTreeConfigLoader.setConfigPath(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str");
  MyPetSkillTreeConfigLoader.loadSkillTrees();
  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,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,EntityMyMagmaCube.class,"String_Node_Str",62);
    a.invoke(a,EntityMagmaCube.class,"String_Node_Str",62);
    a.invoke(a,EntityMyBat.class,"String_Node_Str",65);
    a.invoke(a,EntityBat.class,"String_Node_Str",65);
    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");
    debugLogger.info("String_Node_Str" + MyPet.getStartDamage(myPetType.getMyPetClass()));
    debugLogger.info("String_Node_Str" + MyPet.getStartHP(myPetType.getMyPetClass()));
    debugLogger.info("String_Node_Str" + MyPet.getFood(myPetType.getMyPetClass()));
    debugLogger.info("String_Node_Str" + MyPet.getLeashFlags(myPetType.getMyPetClass()));
    debugLogger.info("String_Node_Str" + MyPet.getStartSpeed(myPetType.getMyPetClass()));
  }
  MyPetPermissions.setup();
  language=new MyPetLanguage(new YamlConfiguration(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"));
  language.load();
  if (MyPetConfig.levelSystem) {
    if (MyPetJSexp.setScriptPath(MyPetPlugin.plugin.getDataFolder().getPath() + File.separator + "String_Node_Str")) {
      MyPetLogger.write("String_Node_Str");
      MyPetUtil.getDebugLogger().info("String_Node_Str");
    }
 else {
      MyPetLogger.write("String_Node_Str");
      MyPetUtil.getDebugLogger().info("String_Node_Str");
    }
  }
  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");
  loadPets(NBTPetFile);
  timer.startTimer();
  debugLogger.info("String_Node_Str");
  for (  MyPetPlayer myPetPlayer : MyPetPlayer.getPlayerList()) {
    debugLogger.info("String_Node_Str" + myPetPlayer.toString());
  }
  debugLogger.info("String_Node_Str");
  if (MyPetConfig.sendMetrics) {
    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");
      for (      MyPetType MPT : MyPetType.values()) {
        final MyPetType petType=MPT;
        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);
      }
      metrics.start();
    }
 catch (    IOException e) {
      MyPetLogger.write(e.getMessage());
    }
  }
 else {
    debugLogger.info("String_Node_Str");
  }
  HeroesDamageFix.reset();
  debugLogger.info("String_Node_Str" + MyPetPlugin.plugin.getDescription().getVersion() + "String_Node_Str");
  MyPetLogger.write("String_Node_Str" + MyPetPlugin.plugin.getDescription().getVersion() + ChatColor.GREEN+ "String_Node_Str");
  for (  Player player : getServer().getOnlinePlayers()) {
    if (MyPetList.hasInactiveMyPets(player)) {
      for (      InactiveMyPet inactiveMyPet : MyPetList.getInactiveMyPets(player)) {
        if (MyPetPermissions.has(player,"String_Node_Str" + inactiveMyPet.getPetType().getTypeName())) {
          MyPetList.setMyPetActive(inactiveMyPet);
          MyPet myPet=MyPetList.getMyPet(player);
          if (myPet.status == PetState.Dead) {
            player.sendMessage(MyPetUtil.setColors(MyPetLanguage.getString("String_Node_Str").replace("String_Node_Str",myPet.petName).replace("String_Node_Str","String_Node_Str" + myPet.respawnTime)));
          }
 else           if (MyPetUtil.getDistance2D(myPet.getLocation(),player.getLocation()) < 75) {
            myPet.createPet();
          }
 else {
            myPet.status=PetState.Despawned;
          }
          break;
        }
      }
    }
  }
  this.isReady=true;
  debugLogger.info("String_Node_Str");
}

Fixed version (ground truth):
public void onEnable(){
  plugin=this;
  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();
  }
  MyPetConfig.config=this.getConfig();
  MyPetConfig.setDefault();
  MyPetConfig.loadConfiguration();
  debugLogger=new DebugLogger(MyPetConfig.debugLogger);
  String minecraftVersion=((CraftServer)getServer()).getHandle().getServer().getVersion();
  if (!CompatibleMinecraftVersion.equalsIgnoreCase(minecraftVersion)) {
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetLogger.write(ChatColor.RED + "String_Node_Str" + CompatibleMinecraftVersion);
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetLogger.write(ChatColor.RED + "String_Node_Str");
    MyPetUtil.getDebugLogger().warning("String_Node_Str");
    MyPetUtil.getDebugLogger().warning("String_Node_Str");
    MyPetUtil.getDebugLogger().warning("String_Node_Str" + CompatibleMinecraftVersion);
    MyPetUtil.getDebugLogger().warning("String_Node_Str");
    MyPetUtil.getDebugLogger().warning("String_Node_Str");
    this.setEnabled(false);
    return;
  }
  debugLogger.info("String_Node_Str");
  debugLogger.info("String_Node_Str" + MyPetVersion + "String_Node_Str"+ MyPetBuild);
  debugLogger.info("String_Node_Str" + getServer().getVersion());
  UpdateCheck updateCheck=new UpdateCheck();
  if (MyPetConfig.checkForUpdates) {
    if (updateCheck.isUpdateAvailable(CompatibleMinecraftVersion,MyPetVersion)) {
      MyPetLogger.write(ChatColor.MAGIC + "String_Node_Str" + updateCheck.getLastAvailableUpdate().getTitle());
      MyPetUtil.getDebugLogger().info("String_Node_Str" + updateCheck.getLastAvailableUpdate().getTitle());
    }
 else {
      MyPetUtil.getDebugLogger().info("String_Node_Str");
    }
  }
 else {
    MyPetUtil.getDebugLogger().info("String_Node_Str");
  }
  MyPetUtil.getDebugLogger().info("String_Node_Str");
  for (  EntityType ET : MyPetExperience.mobExp.keySet()) {
    debugLogger.info("String_Node_Str" + MyPetExperience.mobExp.get(ET).toString());
  }
  MyPetUtil.getDebugLogger().info("String_Node_Str");
  MyPetPlayerListener playerListener=new MyPetPlayerListener();
  getServer().getPluginManager().registerEvents(playerListener,getPlugin());
  MyPetVehicleListener vehicleListener=new MyPetVehicleListener();
  getServer().getPluginManager().registerEvents(vehicleListener,getPlugin());
  MyPetWorldListener worldListener=new MyPetWorldListener();
  getServer().getPluginManager().registerEvents(worldListener,getPlugin());
  MyPetEntityListener entityListener=new MyPetEntityListener();
  getServer().getPluginManager().registerEvents(entityListener,getPlugin());
  MyPetLevelUpListener levelupListener=new MyPetLevelUpListener();
  getServer().getPluginManager().registerEvents(levelupListener,getPlugin());
  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());
  MyPetSkills.registerSkill(Inventory.class);
  MyPetSkills.registerSkill(HPregeneration.class);
  MyPetSkills.registerSkill(Pickup.class);
  MyPetSkills.registerSkill(Behavior.class);
  MyPetSkills.registerSkill(Damage.class);
  MyPetSkills.registerSkill(Control.class);
  MyPetSkills.registerSkill(HP.class);
  MyPetSkills.registerSkill(Poison.class);
  MyPetSkills.registerSkill(Ride.class);
  MyPetSkills.registerSkill(Thorns.class);
  File defaultSkillConfig=new File(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str");
  if (!defaultSkillConfig.exists()) {
    try {
      InputStream template=getPlugin().getResource("String_Node_Str");
      OutputStream out=new FileOutputStream(defaultSkillConfig);
      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");
    }
  }
  MyPetSkillTreeConfigLoader.setConfigPath(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str");
  MyPetSkillTreeConfigLoader.loadSkillTrees();
  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,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,EntityMyMagmaCube.class,"String_Node_Str",62);
    a.invoke(a,EntityMagmaCube.class,"String_Node_Str",62);
    a.invoke(a,EntityMyBat.class,"String_Node_Str",65);
    a.invoke(a,EntityBat.class,"String_Node_Str",65);
    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");
    debugLogger.info("String_Node_Str" + MyPet.getStartDamage(myPetType.getMyPetClass()));
    debugLogger.info("String_Node_Str" + MyPet.getStartHP(myPetType.getMyPetClass()));
    debugLogger.info("String_Node_Str" + MyPet.getFood(myPetType.getMyPetClass()));
    debugLogger.info("String_Node_Str" + MyPet.getLeashFlags(myPetType.getMyPetClass()));
    debugLogger.info("String_Node_Str" + MyPet.getStartSpeed(myPetType.getMyPetClass()));
  }
  MyPetPermissions.setup();
  language=new MyPetLanguage(new YamlConfiguration(getPlugin().getDataFolder().getPath() + File.separator + "String_Node_Str"));
  language.load();
  if (MyPetConfig.levelSystem) {
    if (MyPetJSexp.setScriptPath(MyPetPlugin.plugin.getDataFolder().getPath() + File.separator + "String_Node_Str")) {
      MyPetLogger.write("String_Node_Str");
      MyPetUtil.getDebugLogger().info("String_Node_Str");
    }
 else {
      MyPetLogger.write("String_Node_Str");
      MyPetUtil.getDebugLogger().info("String_Node_Str");
    }
  }
  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");
  loadPets(NBTPetFile);
  timer.startTimer();
  debugLogger.info("String_Node_Str");
  for (  MyPetPlayer myPetPlayer : MyPetPlayer.getPlayerList()) {
    debugLogger.info("String_Node_Str" + myPetPlayer.toString());
  }
  debugLogger.info("String_Node_Str");
  if (MyPetConfig.sendMetrics) {
    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");
      for (      MyPetType MPT : MyPetType.values()) {
        final MyPetType petType=MPT;
        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);
      }
      metrics.start();
    }
 catch (    IOException e) {
      MyPetLogger.write(e.getMessage());
    }
  }
 else {
    debugLogger.info("String_Node_Str");
  }
  HeroesDamageFix.reset();
  debugLogger.info("String_Node_Str" + MyPetPlugin.plugin.getDescription().getVersion() + "String_Node_Str");
  MyPetLogger.write("String_Node_Str" + MyPetPlugin.plugin.getDescription().getVersion() + ChatColor.GREEN+ "String_Node_Str");
  for (  Player player : getServer().getOnlinePlayers()) {
    if (MyPetList.hasInactiveMyPets(player)) {
      for (      InactiveMyPet inactiveMyPet : MyPetList.getInactiveMyPets(player)) {
        if (MyPetPermissions.has(player,"String_Node_Str" + inactiveMyPet.getPetType().getTypeName())) {
          MyPetList.setMyPetActive(inactiveMyPet);
          MyPet myPet=MyPetList.getMyPet(player);
          if (myPet.status == PetState.Dead) {
            player.sendMessage(MyPetUtil.setColors(MyPetLanguage.getString("String_Node_Str").replace("String_Node_Str",myPet.petName).replace("String_Node_Str","String_Node_Str" + myPet.respawnTime)));
          }
 else           if (MyPetUtil.getDistance2D(myPet.getLocation(),player.getLocation()) < 75) {
            myPet.createPet();
          }
 else {
            myPet.status=PetState.Despawned;
          }
          break;
        }
      }
    }
  }
  this.isReady=true;
  debugLogger.info("String_Node_Str");
}