First 1.6 push, still work to be done

This commit is contained in:
Aidan Brady committed 2013-07-20 12:10:14 -04:00
1 parent 1b039bce4b
commit cfc5dff445
462 files changed
+1473 -4025

No files matched your search

@@ -45,7 +45,7 @@ public class ThreadClientUpdate extends Thread
@Override
public void run()
{
File download = new File(new StringBuilder().append(Minecraft.getMinecraftDir()).append(File.separator + "mods" + File.separator + "Mekanism" + moduleName + "-v" + Mekanism.latestVersionNumber + ".jar").toString());
File download = new File(new StringBuilder().append(Mekanism.proxy.getMinecraftDir()).append(File.separator + "mods" + File.separator + "Mekanism" + moduleName + "-v" + Mekanism.latestVersionNumber + ".jar").toString());
try {
prepareForDownload();
download.createNewFile();
@@ -82,7 +82,7 @@ public class ThreadClientUpdate extends Thread
*/
public void prepareForDownload()
{
File[] modsList = new File(new StringBuilder().append(Minecraft.getMinecraftDir()).append(File.separator + "mods").toString()).listFiles();
File[] modsList = new File(new StringBuilder().append(Mekanism.proxy.getMinecraftDir()).append(File.separator + "mods").toString()).listFiles();
for(File file : modsList)
{