mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
Fix J13 ambiguous reference and JenkinsFile skipping a step.
This commit is contained in:
1 parent
db6ab2a19e
commit
54f9ca540e
2 files changed
+13
-3
No files matched your search
@@ -654,7 +654,7 @@ public class CraftingHelper {
|
||||
|
||||
if (mod.getSource().isFile())
|
||||
{
|
||||
fs = FileSystems.newFileSystem(mod.getSource().toPath(), null);
|
||||
fs = FileSystems.newFileSystem(mod.getSource().toPath(), (ClassLoader)null);
|
||||
fPath = fs.getPath("/" + base, "_factories.json");
|
||||
}
|
||||
else if (mod.getSource().isDirectory())
|
||||
@@ -791,7 +791,7 @@ public class CraftingHelper {
|
||||
{
|
||||
try
|
||||
{
|
||||
fs = FileSystems.newFileSystem(source.toPath(), null);
|
||||
fs = FileSystems.newFileSystem(source.toPath(), (ClassLoader)null);
|
||||
root = fs.getPath("/" + base);
|
||||
}
|
||||
catch (IOException e)
|
||||
@@ -885,7 +885,7 @@ public class CraftingHelper {
|
||||
Path fPath = null;
|
||||
if(mod.getSource().isFile())
|
||||
{
|
||||
try(FileSystem fs = FileSystems.newFileSystem(mod.getSource().toPath(), null))
|
||||
try(FileSystem fs = FileSystems.newFileSystem(mod.getSource().toPath(), (ClassLoader)null))
|
||||
{
|
||||
fPath = fs.getPath("assets", path.getResourceDomain(), path.getResourcePath());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user