Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omit -jar when -cp or -classpath is used in custom java arguments #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NZSmartie
Copy link
Contributor

In the case of using a 3rd-party mod loader. It's ideal to pass along a custom classpath to java.
However, if -jar is present, then the classpath is ignored.

This PR enables the use of the fabric mod loader through the custom java arguments input:

-Xincgc -server -cp ".\StarMade.jar;.\libs\fabric-loader.jar" -Dfabric.gameJarPath=.\StarMade.jar -Dfabric.loader.entrypoint=org.schema.game.common.Starter -Dfabric.side=client net.fabricmc.loader.launch.knot.KnotClient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant