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 command to handle /waystones getkey from console. #32

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

AtriusX
Copy link
Owner

@AtriusX AtriusX commented Jun 28, 2021

This PR fixes a problem discussed in #30. The code still needs testing and a localization update.

@NewbieOrange could you provide a translation for command-bad-sender? I'm also wondering if there is a better way to handle the parameters with the localizations, it's not immediately clear.

@NewbieOrange
Copy link
Contributor

Afaik the current impl is the most flexible way (support plural of different languages, etc.) to handle parameters in localization without relying on (very heavy, i.e. ICU4j) third-party libraries, but there might be some lightweight localization libraries that I am not aware of.

@AtriusX
Copy link
Owner Author

AtriusX commented Jun 29, 2021

Alright, we'll stick with the current solution until a better one presents itself then.

@AtriusX AtriusX merged commit a7687af into master Jun 29, 2021
@AtriusX AtriusX deleted the fix/get-key-console branch June 29, 2021 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running /waystones getkey in console causes an exception instead of sending an error.
2 participants