mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Use Guava instead of Nio for J6 compatibility.
This commit is contained in:
1 parent
f2eec981ff
commit
01aac69514
1 file changed
+3
-2
@@ -2,10 +2,11 @@ package net.minecraftforge.common;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
|
||||
import org.apache.logging.log4j.Level;
|
||||
|
||||
import com.google.common.io.Files;
|
||||
|
||||
import net.minecraft.world.chunk.storage.IChunkLoader;
|
||||
import net.minecraft.world.storage.IPlayerFileData;
|
||||
import net.minecraft.world.storage.ISaveHandler;
|
||||
@@ -56,7 +57,7 @@ public class WorldSpecificSaveHandler implements ISaveHandler
|
||||
{
|
||||
try
|
||||
{
|
||||
Files.copy(parentFile.toPath(), file.toPath());
|
||||
Files.copy(parentFile, file);
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user