Skip to content

Commit a72835c

Browse files
committed
set fabric.gameVersion jvm arg for loom runs
1 parent a56d5aa commit a72835c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/net/ornithemc/ploceus/PloceusGradleExtension.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,12 @@ private void apply() {
185185
}
186186
}
187187
});
188+
189+
loom.runs(runs -> {
190+
runs.all(run -> {
191+
run.vmArgs("-Dfabric.gameVersion=" + minecraftVersion());
192+
});
193+
});
188194
});
189195

190196
this.setIntermediaryGeneration(DEFAULT_INTERMEDIARY_GEN);

0 commit comments

Comments
 (0)