mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Make the parent dir tree for the dep extractor
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user