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

bonus_health can get truly permanent on server crash (OOM, JVM Crash, etc) #76

Open
luizsusin opened this issue Jan 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@luizsusin
Copy link

Describe the bug
The bonus_health effect has been used in a few EcoEnchants I've made.
It works great, adds more hearts when wearing the armor and removes them when removing the armor.

However, I've seen some players with high amount of hearts and I've found out that it happened after a JVM Crash.
When they log in again, it seems like the bonus_health effect is re-aplied.

To Reproduce
There's not exactly a way to reproduce it, but it happens after a JVM Crash (I think OOM might cause it too) while wearing the armor.

Expected behavior
Bonus hearts shouldn't be kept.

Server Information (please complete the following information):

  • Version of Eco: 6.48.2
  • Version of EcoEnchants: 9.15.0

Additional context
I've posted this on Libreforge since I think it's a problem that can happen in every Eco's plugin. I'm quite sure this isn't a EcoEnchants-only problem.

@luizsusin luizsusin added the bug Something isn't working label Jan 8, 2023
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