Program: 190590
Project: 190590
Buggy source:
/** 
 * Runs once every tick.  Currently handles Paradox Level, Rendering paradox bar, handling Time Zone saving
 */
public boolean onTickInGame(float f,Minecraft minecraft){
  MinecraftServer ms=minecraft.getIntegratedServer();
  ScaledResolution var5=new ScaledResolution(minecraft.gameSettings,minecraft.displayWidth,minecraft.displayHeight);
  int var6=var5.getScaledWidth();
  int var7=var5.getScaledHeight();
  int var8=var7 / var7 + 25;
  int playerX=(int)minecraft.thePlayer.posX;
  int playerY=(int)minecraft.thePlayer.posY;
  int playerZ=(int)minecraft.thePlayer.posZ;
  ctr++;
  count++;
  text="String_Node_Str" + minutes + "String_Node_Str"+ seconds+ "String_Node_Str";
  GuiTimeTravel gtt=new GuiTimeTravel();
  b=gtt.isInPast;
  GuiIngame gig=new GuiIngame(minecraft);
  GL11.glBindTexture(GL11.GL_TEXTURE_2D,minecraft.renderEngine.getTexture("String_Node_Str"));
  gig.drawTexturedModalRect(var6 / 2 - 200,var8,0,0,128,8);
  File beginningOfWorld=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName());
  File playerLoc=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str");
  if (count == 240) {
    playerLoc(playerLoc,minecraft);
    count=0;
  }
  if (beginningOfWorld.length() == 0) {
    File initWorldGen=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName());
    initWorldGen.mkdirs();
    File fi=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str");
    File moveTo=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str");
    try {
      cf.copyDirectory(fi,moveTo);
    }
 catch (    IOException ex) {
      ex.printStackTrace();
    }
  }
  if (b) {
    if (paradoxLevel < 0) {
      paradoxLevel=0;
    }
    if (paradoxLevel <= 128) {
      EntityPlayerSP eps=minecraft.thePlayer;
      if (eps.isPotionActive(Potion.invisibility)) {
        invisPotTime++;
        if (invisPotTime == 10) {
          paradoxLevel=paradoxLevel - 5;
          invisPotTime=0;
        }
      }
      if (eps.isEating()) {
        paradoxLevel++;
        eps.experienceTotal=eps.experienceTotal + 2;
      }
      if (eps.isSneaking()) {
        sneakTime++;
        if (sneakTime == 30) {
          paradoxLevel=paradoxLevel - 2;
          sneakTime=0;
        }
      }
      GL11.glBindTexture(GL11.GL_TEXTURE_2D,minecraft.renderEngine.getTexture("String_Node_Str"));
      gig.drawTexturedModalRect(var6 / 2 - 200,var8,0,8,paradoxLevel,8);
    }
 else {
      GL11.glBindTexture(GL11.GL_TEXTURE_2D,minecraft.renderEngine.getTexture("String_Node_Str"));
      gig.drawTexturedModalRect(var6 / 2 - 200,var8,0,8,128,8);
      EntityPlayer ep=minecraft.thePlayer;
      ep.setDead();
      paradoxLevel=0;
      minecraft.statFileWriter.readStat(StatList.leaveGameStat,1);
      minecraft.theWorld.sendQuittingDisconnectingPacket();
      minecraft.loadWorld((WorldClient)null);
      minecraft.displayGuiScreen(new GuiMainMenu());
      File present=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName());
      File worldFileDest=GuiTimeTravel.staticsource;
      File worldFile=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str");
      System.out.println(present);
      System.out.println(worldFileDest);
      System.out.println(worldFile);
      try {
        Thread.sleep(3000);
        CopyFile.moveMultipleFiles(worldFile,worldFileDest);
        Thread.sleep(1000);
        CopyFile.moveMultipleFiles(present,worldFile);
        gtt.isInPast=false;
      }
 catch (      Exception ex) {
        ex.printStackTrace();
      }
      minutes=1;
      seconds=30;
    }
  }
  if (b) {
    ct++;
    if (minutes <= 0) {
      text="String_Node_Str" + seconds + "String_Node_Str";
      if (seconds <= 0) {
        minecraft.statFileWriter.readStat(StatList.leaveGameStat,1);
        minecraft.theWorld.sendQuittingDisconnectingPacket();
        minecraft.loadWorld((WorldClient)null);
        minecraft.displayGuiScreen(new GuiMainMenu());
        File present=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName());
        File worldFileDest=GuiTimeTravel.staticsource;
        File worldFile=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str");
        System.out.println(worldFileDest + "String_Node_Str" + gtt.getSaveNumber());
        System.out.println(present);
        System.out.println(worldFileDest);
        System.out.println(worldFile);
        minutes=1;
        seconds=30;
        try {
          Thread.sleep(3000);
          CopyFile.moveMultipleFiles(worldFile,worldFileDest);
          Thread.sleep(1000);
          CopyFile.moveMultipleFiles(present,worldFile);
          gtt.isInPast=false;
        }
 catch (        Exception ex) {
          ex.printStackTrace();
        }
      }
    }
    if (b) {
      if (ct == 20) {
        seconds--;
        ct=0;
        if (seconds == 0) {
          minutes--;
          seconds=60;
          if (minutes == 0) {
            text="String_Node_Str" + seconds + "String_Node_Str";
          }
        }
      }
    }
    testGUIElement=new GuiButton(0,0,5,text);
    testGUIElement.drawButton(minecraft,0,0);
  }
  if (ctr == 20 * 60) {
    if (!b) {
      WorldInfo we=minecraft.theWorld.getWorldInfo();
      File fil=new File(Minecraft.getMinecraftDir(),"String_Node_Str" + ms.getWorldName());
      if (!fil.exists()) {
        fil.mkdir();
      }
      int counterstart=new File(Minecraft.getMinecraftDir(),"String_Node_Str" + ms.getWorldName()).listFiles().length;
      counter=counterstart;
      try {
        WorldInfo worldinfo=minecraft.theWorld.getWorldInfo();
        File fi=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str");
        File f2=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName());
        f2.mkdir();
        String fname=ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str";
        counter=counter + 1;
        fname=fname.concat(String.format("String_Node_Str",counter));
        File directoryToMoveTo=new File(fname);
        cf=new CopyFile();
        cf.copyDirectory(fi,directoryToMoveTo);
        System.out.println("String_Node_Str");
      }
 catch (      Exception ex) {
        ex.printStackTrace();
      }
      ctr=0;
    }
 else {
      System.out.println("String_Node_Str");
    }
  }
  return true;
}

Fixed version (ground truth):
/** 
 * Runs once every tick.  Currently handles Paradox Level, Rendering paradox bar, handling Time Zone saving
 */
public boolean onTickInGame(float f,Minecraft minecraft){
  MinecraftServer ms=minecraft.getIntegratedServer();
  World w=minecraft.theWorld;
  ScaledResolution var5=new ScaledResolution(minecraft.gameSettings,minecraft.displayWidth,minecraft.displayHeight);
  int var6=var5.getScaledWidth();
  int var7=var5.getScaledHeight();
  int var8=var7 / var7 + 25;
  int playerX=(int)minecraft.thePlayer.posX;
  int playerY=(int)minecraft.thePlayer.posY;
  int playerZ=(int)minecraft.thePlayer.posZ;
  ctr++;
  count++;
  text="String_Node_Str" + minutes + "String_Node_Str"+ seconds+ "String_Node_Str";
  GuiTimeTravel gtt=new GuiTimeTravel();
  b=gtt.isInPast;
  GuiIngame gig=new GuiIngame(minecraft);
  GL11.glBindTexture(GL11.GL_TEXTURE_2D,minecraft.renderEngine.getTexture("String_Node_Str"));
  gig.drawTexturedModalRect(var6 / 2 - 200,var8,0,0,128,8);
  File beginningOfWorld=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName());
  File playerLoc=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str");
  if (count == 240) {
    playerLoc(playerLoc,minecraft);
    count=0;
  }
  if (beginningOfWorld.length() == 0) {
    File initWorldGen=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName());
    initWorldGen.mkdirs();
    File fi=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str");
    File moveTo=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str");
    try {
      cf.copyDirectory(fi,moveTo);
    }
 catch (    IOException ex) {
      ex.printStackTrace();
    }
  }
  if (!b) {
    nonPastChunks=w.chunkProvider.getLoadedChunkCount();
  }
  if (b) {
    pastChunks=w.chunkProvider.getLoadedChunkCount();
    if (pastChunks == nonPastChunks) {
      w.chunkProvider.loadChunk(0,0);
    }
    if (paradoxLevel < 0) {
      paradoxLevel=0;
    }
    if (paradoxLevel <= 128) {
      EntityPlayerSP eps=minecraft.thePlayer;
      if (eps.isPotionActive(Potion.invisibility)) {
        invisPotTime++;
        if (invisPotTime == 10) {
          paradoxLevel=paradoxLevel - 5;
          invisPotTime=0;
        }
      }
      if (eps.isEating()) {
        paradoxLevel++;
        eps.experienceTotal=eps.experienceTotal + 2;
      }
      if (eps.isSneaking()) {
        sneakTime++;
        if (sneakTime == 30) {
          paradoxLevel=paradoxLevel - 2;
          sneakTime=0;
        }
      }
      GL11.glBindTexture(GL11.GL_TEXTURE_2D,minecraft.renderEngine.getTexture("String_Node_Str"));
      gig.drawTexturedModalRect(var6 / 2 - 200,var8,0,8,paradoxLevel,8);
    }
 else {
      GL11.glBindTexture(GL11.GL_TEXTURE_2D,minecraft.renderEngine.getTexture("String_Node_Str"));
      gig.drawTexturedModalRect(var6 / 2 - 200,var8,0,8,128,8);
      EntityPlayer ep=minecraft.thePlayer;
      ep.setDead();
      paradoxLevel=0;
      minecraft.statFileWriter.readStat(StatList.leaveGameStat,1);
      minecraft.theWorld.sendQuittingDisconnectingPacket();
      minecraft.loadWorld((WorldClient)null);
      minecraft.displayGuiScreen(new GuiMainMenu());
      File present=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName());
      File worldFileDest=GuiTimeTravel.staticsource;
      File worldFile=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str");
      System.out.println(present);
      System.out.println(worldFileDest);
      System.out.println(worldFile);
      try {
        Thread.sleep(3000);
        CopyFile.moveMultipleFiles(worldFile,worldFileDest);
        Thread.sleep(1000);
        CopyFile.moveMultipleFiles(present,worldFile);
        gtt.isInPast=false;
      }
 catch (      Exception ex) {
        ex.printStackTrace();
      }
      minutes=1;
      seconds=30;
    }
  }
  if (b) {
    ct++;
    if (minutes <= 0) {
      text="String_Node_Str" + seconds + "String_Node_Str";
      if (seconds <= 0) {
        minecraft.statFileWriter.readStat(StatList.leaveGameStat,1);
        minecraft.theWorld.sendQuittingDisconnectingPacket();
        minecraft.loadWorld((WorldClient)null);
        minecraft.displayGuiScreen(new GuiMainMenu());
        File present=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName());
        File worldFileDest=GuiTimeTravel.staticsource;
        File worldFile=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str");
        System.out.println(worldFileDest + "String_Node_Str" + gtt.getSaveNumber());
        System.out.println(present);
        System.out.println(worldFileDest);
        System.out.println(worldFile);
        minutes=1;
        seconds=30;
        try {
          Thread.sleep(3000);
          CopyFile.moveMultipleFiles(worldFile,worldFileDest);
          Thread.sleep(1000);
          CopyFile.moveMultipleFiles(present,worldFile);
          gtt.isInPast=false;
        }
 catch (        Exception ex) {
          ex.printStackTrace();
        }
      }
    }
    if (b) {
      if (ct == 20) {
        seconds--;
        ct=0;
        if (seconds == 0) {
          minutes--;
          seconds=60;
          if (minutes == 0) {
            text="String_Node_Str" + seconds + "String_Node_Str";
          }
        }
      }
    }
    testGUIElement=new GuiButton(0,0,5,text);
    testGUIElement.drawButton(minecraft,0,0);
  }
  if (ctr == 20 * 60) {
    if (!b) {
      WorldInfo we=minecraft.theWorld.getWorldInfo();
      File fil=new File(Minecraft.getMinecraftDir(),"String_Node_Str" + ms.getWorldName());
      if (!fil.exists()) {
        fil.mkdir();
      }
      int counterstart=new File(Minecraft.getMinecraftDir(),"String_Node_Str" + ms.getWorldName()).listFiles().length;
      counter=counterstart;
      try {
        WorldInfo worldinfo=minecraft.theWorld.getWorldInfo();
        File fi=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str");
        File f2=new File(ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName());
        f2.mkdir();
        String fname=ModLoader.getMinecraftInstance().getMinecraftDir() + "String_Node_Str" + ms.getWorldName()+ "String_Node_Str";
        counter=counter + 1;
        fname=fname.concat(String.format("String_Node_Str",counter));
        File directoryToMoveTo=new File(fname);
        cf=new CopyFile();
        cf.copyDirectory(fi,directoryToMoveTo);
        System.out.println("String_Node_Str");
      }
 catch (      Exception ex) {
        ex.printStackTrace();
      }
      ctr=0;
    }
 else {
      System.out.println("String_Node_Str");
    }
  }
  return true;
}