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

Update legacy region parsing logic #1081

Merged
merged 1 commit into from
Oct 16, 2022
Merged

Conversation

Pugzy
Copy link
Contributor

@Pugzy Pugzy commented Oct 15, 2022

This resolves some erroneous wording changes made by a certain king of shapes which has since made its way in to the docs.

The lanes element was incorrectly listed as deprecated rather than legacy. Although true that lanes are no longer the recommended way to apply this logic it is still valid XML in the current protocol.

The same extends to maxbuildheight which is still the recommended way of applying this logic. The creation of this feature is moved to a half-space region (as would be expected) rather than an infinitely sized cuboid.

The playable element is no longer supported in the current protocol (as of 1.3.6). This change adds a proto-check before parsing this element. As indicated on the following page http://docs.oc.tc/modules/proto.

image

If accepted I can make a PR to the docs to resolve the deprecated notice of Build Height.

Signed-off-by: Pugzy [email protected]

@Pugzy Pugzy requested a review from Electroid as a code owner October 15, 2022 13:54
@Electroid Electroid merged commit 0cce360 into PGMDev:dev Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants