mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
First 1.6 push, still work to be done
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user