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

Fix incorrect level calculation #260

Closed
rubensworks opened this issue Jul 27, 2024 · 1 comment
Closed

Fix incorrect level calculation #260

rubensworks opened this issue Jul 27, 2024 · 1 comment

Comments

@rubensworks
Copy link
Member

Issue type:

  • 🐛 Bug

Short description:

From ForgeCraft:

The way you calculate the number of player levels I think is off by one or something. I couldn't apply it until I was player level 31 (I tried at 30.5). At 31 and a bit it took me down to level 5. My guess is you are flooring the value, when realistically you probably want to ceil it?


Versions:

  • This mod:
  • Minecraft: 1.19
  • Forge:

Log file:

@rubensworks
Copy link
Member Author

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant