Skip to content

Commit c316474

Browse files
committed
fixed intellij runs issue
1 parent ec1d8a2 commit c316474

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/net/minecraftforge/gradle/user/UserBasePlugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ public final void injectIntellijRuns(Document doc, String module) throws DOMExce
542542
sub = doc.createElement("option");
543543
{
544544
sub.setAttribute("name", "WORKING_DIRECTORY");
545-
sub.setAttribute("value", "file://" + delayedFile("{ASSETS_DIR}").call().getParentFile().getCanonicalPath().replace(module, "$PROJECT_DIR$"));
545+
sub.setAttribute("value", "file://" + delayedFile("{ASSET_DIR}").call().getParentFile().getCanonicalPath().replace(module, "$PROJECT_DIR$"));
546546
child.appendChild(sub);
547547
}
548548

@@ -646,7 +646,7 @@ public final void injectIntellijRuns(Document doc, String module) throws DOMExce
646646
sub = doc.createElement("option");
647647
{
648648
sub.setAttribute("name", "WORKING_DIRECTORY");
649-
sub.setAttribute("value", "file://" + delayedFile("{ASSETS_DIR}").call().getParentFile().getCanonicalPath().replace(module, "$PROJECT_DIR$"));
649+
sub.setAttribute("value", "file://" + delayedFile("{ASSET_DIR}").call().getParentFile().getCanonicalPath().replace(module, "$PROJECT_DIR$"));
650650
child.appendChild(sub);
651651
}
652652

0 commit comments

Comments
 (0)