-
Notifications
You must be signed in to change notification settings - Fork 83
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
Dungeon Editing breaks for players with max health other than 20 #137
Comments
Thank you very much for the report. I am currently not able to test it, but I'm pretty sure about the reason for the error and attempted to fix it. Would you mind trying it yourself? Compiled jar: Note: This is a build of the 0.15 branch, it might cause inconsistencies and errors with an unmodified 0.14.x or lower setup, so you might need to let it regenerate the main config and the language file. |
I'm on an RPG server and have over 20 health (10 hearts,) and I haven't had a problem, so this bug is either just on that server or only when a player has under 20 health. |
@snapopotamos Interesting. This explains why I thought it was fixed. |
I think the plugin sets the players health to 20 whenever they enter/exit, so if you have a higher max health you start not fully healed, but if you have a lower max health it can't set it to ten, which causes the error. |
In the fixed build I posted above, the health scale is also saved and replaced with the default 20.0 scale, so it should work now. |
It's fixed. Thank you! |
I use RPGme on my server, which means that players have a variety of different max health values. If anyone has anything other than 20 max health/10 max hearts, the server outputs this to console repeatedly:
This error is for me, where I have the default 8 hearts that RPGme gives. It was fixed by giving myself 2 additional health, but I can't set/reset players easily for when the decide to go into a dungeon.
The text was updated successfully, but these errors were encountered: