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

Allow relative coordinates in /area_pos[12] #77

Conversation

Emojigit
Copy link
Member

@Emojigit Emojigit commented Jul 2, 2024

This PR allows coordinates relative to player position to be passed into /area_pos[12].

There is a minor regression: Typing in /area_pos1 - - - would result in the player coordinates being set instead of raising an error as it would.

This PR is ready for review.

pos.lua Outdated Show resolved Hide resolved
@Emojigit Emojigit requested a review from SmallJoker July 7, 2024 22:46
Copy link
Member

@SmallJoker SmallJoker left a comment

Choose a reason for hiding this comment

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

Works. Will merge in a few days unless there are objections.

@SmallJoker SmallJoker merged commit 9a5cdb2 into minetest-mods:master Aug 7, 2024
1 check passed
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.

2 participants