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

Fixed issues getting Bedrock chunk version #239

Merged
merged 2 commits into from
Mar 29, 2023

Conversation

gentlegiantJGC
Copy link
Member

The tuple comparison is false for the case (1, 0, 0) <= (1, 0) which causes problems for version numbers with implied zeros. To fix this I have padded the version to 4 numbers. I have also returned the number 6 chunk version if all else fails.

Fixes Amulet-Team/Amulet-Map-Editor#835

The tuple comparison is false for the case `(1, 0, 0) <= (1, 0)` which causes problems for version numbers with implied zeros.
To fix this I have padded the version to 4 numbers.
I have also returned the number 6 chunk version if all else fails.
@gentlegiantJGC gentlegiantJGC merged commit 6a2b9ba into master Mar 29, 2023
@gentlegiantJGC gentlegiantJGC deleted the fix-bedrock-chunk-version branch March 29, 2023 10:54
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.

[Bug Report] World not saving bedrock
1 participant