Make the parent dir tree for the dep extractor

This commit is contained in:
cpw committed 2016-01-04 09:07:28 -05:00
1 parent d8440de49b
commit 035dd4c245
1 file changed
+2
@@ -34,6 +34,7 @@ import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import com.google.common.io.ByteStreams;
import com.google.common.io.Files;
import net.minecraft.launchwrapper.ITweaker;
import net.minecraft.launchwrapper.Launch;
import net.minecraft.launchwrapper.LaunchClassLoader;
@@ -447,6 +448,7 @@ public class CoreModManager {
try
{
FileOutputStream targ = new FileOutputStream(target);
Files.createParentDirs(target);
ByteStreams.copy(jar.getInputStream(jarEntry), targ);
targ.close();
} catch (IOException e)