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

Fix 1.20.5 JAR not being executable #11

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Conversation

jedenastka
Copy link
Contributor

The package for the 1.20.5 Main class is slicer instead of com.mojang.slicer, which makes the JAR not executable, as the manifest points to com.mojang.slicer.Main and not slicer.Main. This seems to be a mistake, as all other Main classes are in the com.mojang.slicer package.

This changes the package and adjusts the directory to be consistent with other Main classes, and thus fixes the issue of the JAR not being executable.

Fixes #10.

The package for the 1.20.5 Main class is slicer instead of
com.mojang.slicer, which makes the JAR not executable, as the manifest
points to com.mojang.slicer.Main and not slicer.Main. This seems to be a
mistake, as all other Main classes are in the com.mojang.slicer package.

This changes the package and adjusts the directory to be consistent with
other Main classes, and thus fixes the issue of the JAR not being
executable.
@Gegy Gegy self-requested a review March 27, 2024 09:16
Copy link
Member

@Gegy Gegy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks! 🙂

@Gegy Gegy merged commit 975ff59 into Mojang:main Apr 10, 2024
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.

Cannot run map slicer via command line
2 participants