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 playerdata after change #72

Open
ChimpGamer opened this issue Jan 13, 2024 · 0 comments
Open

Update playerdata after change #72

ChimpGamer opened this issue Jan 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ChimpGamer
Copy link

Plugin Version

v3.12.6

Server Version

git-Paper-381 (MC: 1.20.4)

Describe the Bug

Currently the playerdata is updated on the PlayerQuitEvent and loaded on the AsyncPlayerPreLoginEvent. So it sometimes happens that the data isn't saved before it is loaded again when switching to another server. It would be better to just save the data async as soon as there has been a change e.g. toggle to avoid this issue.

Relevant Log Output

No response

@ChimpGamer ChimpGamer added the bug Something isn't working label Jan 13, 2024
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

No branches or pull requests

1 participant