Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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