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

PrettyTime instance is not constructed again when config is reloaded #72

Closed
BoBkiNN opened this issue Sep 26, 2024 · 0 comments
Closed
Assignees
Labels

Comments

@BoBkiNN
Copy link

BoBkiNN commented Sep 26, 2024

How to reproduce:

  1. Start a server with this plugin
  2. Go afk using /afk
  3. Use /afkplus player <YourName> to see formatted time
  4. See message on your current prettytime language that is set in config.yml
  5. Change prettytime language to other language in config.yml without restarting server
  6. See that config automatically reloaded in console
  7. Run command in step 3 again
  8. See that time formatted in old lang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants