Skip to content

Commit

Permalink
Fix the rest of runClient because why not
Browse files Browse the repository at this point in the history
  • Loading branch information
makamys committed Dec 22, 2023
1 parent 8efe5be commit 56d8a4d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -310,3 +310,9 @@ sourceSets {
ext.refMap = refMapForYourConfig
}
}

runClient {
// Workaround for Mixin not detecting mod (https://github.com/SpongePowered/Mixin/issues/207)
// (Fixed in UniMix, so this should be removed if we ever switch to it.)
args("--mods=" + java.nio.file.Paths.get("$projectDir").resolve(minecraft.runDir).normalize().relativize(shadowJar.archivePath.toPath()))
}

0 comments on commit 56d8a4d

Please sign in to comment.