Skip to content

Choose where you spawn on the map #404

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Geotree12
Copy link

First time contributing to a code base so sorry if it's not too good right now, had to make a couple helper functions from osm_parser.rs public to translate from lng/lat coordinates to minecraft coordinates as well.

New parameter is added
--spawn-point="longitude,latitude"

when this parameter is not specified the spawn point defaults to 0,0

@Oleg4260
Copy link
Contributor

Oleg4260 commented Apr 9, 2025

Looks good, but it doesn't pass the checks because of bad formatting, you should execute cargo fmt and push another commit to fix this

@Geotree12
Copy link
Author

got it all fixed up now, clippy was a bit cranky but it should all be good.

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.

3 participants