mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 03:25:18 +00:00
Fix recipe names in packaged jars. Closes #4039
This commit is contained in:
1 parent
a30316e6a1
commit
f1881453be
1 file changed
+2
-2
@@ -677,7 +677,7 @@ public class CraftingHelper {
|
||||
try
|
||||
{
|
||||
fs = FileSystems.newFileSystem(source.toPath(), null);
|
||||
root = fs.getPath("/assets/" + ctx.getModId() + "/recipes/");
|
||||
root = fs.getPath("/assets/" + ctx.getModId() + "/recipes");
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
@@ -687,7 +687,7 @@ public class CraftingHelper {
|
||||
}
|
||||
else if (source.isDirectory())
|
||||
{
|
||||
root = source.toPath().resolve("assets/" + ctx.getModId() + "/recipes/");
|
||||
root = source.toPath().resolve("assets/" + ctx.getModId() + "/recipes");
|
||||
}
|
||||
|
||||
if (root == null || !Files.exists(root))
|
||||
|
||||
Reference in new issue
Block a user