Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 WorldPivotData not being written in studio #238
Fix WorldPivotData not being written in studio #238
Changes from 4 commits
0a860f5
cfbcfaf
a64ad05
5517437
d801ed6
acf4c47
0be06b2
76c9773
c980697
2d98cc0
e4587f5
d4c1c0c
c83a735
0ce5321
5cbbb8d
61d47fc
a1497bc
c7a87bc
b23c974
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WorldPivotData
is kind of a funny name. That's what this property serializes as, but we should surface it asWorldPivot
to the user. There is a little bit of guidance in this document that might help: https://dom.rojo.space/patching-database.htmlYou can also look at the patches in
instance.yml
that add support for attributes. They serialize asAttributesSerialize
but we expose them asAttributes
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made it use an alias like you suggested in the latest commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, this is kinda weird. I wonder what's up with this diff!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'll break everything randomly and we don't even know it yet.