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

Add proper error handling when invalid coordinates are entered for the tpll command. #25

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

kyanvde
Copy link
Contributor

@kyanvde kyanvde commented Aug 20, 2024

More specifically, I made sure that if a NumberFormatException occurs when extracting the latitude and longitude coordinates from the tpll command arguments, an error message is sent to the commandSender and the rest of the command code is no longer executed.

@Le4nderS Le4nderS merged commit 354b346 into BTE-Germany:master Aug 20, 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