Patched config generation
This commit is contained in:
Binary file not shown.
@@ -13,7 +13,6 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.StandardCopyOption;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
@@ -249,7 +248,7 @@ public final class PluginRuntime {
|
||||
if (input == null) {
|
||||
throw new IOException("Missing bundled config resource: " + resourceName);
|
||||
}
|
||||
Files.copy(input, configPath, StandardCopyOption.COPY_ATTRIBUTES);
|
||||
Files.copy(input, configPath);
|
||||
}
|
||||
|
||||
logger.warning("Created default DirtSimpleP2P config at " + configPath
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user