Project MMO

Project MMO

10M Downloads

Death Not Subtracting XP Correctly

SomewhatDamaged opened this issue ยท 0 comments

commented

Describe the bug
When trying to make death remove all excess XP but not undo levels, the following settings in pmmo-server.toml are set:

"Loss on death" = 1.0
"Lose Levels On Death" = false
"Lose Only Excess" = true

But the player doesn't lose any XP at all.

Expected behavior
All the player's PMMO XP would be rounded down to the nearest level.

To Reproduce
Steps to reproduce the behavior:

  1. Set the above settings in pmmo-server.toml
  2. Build yourself a bed from TNT, add a pressure plate, and jump for joy.
  3. Lose no XP

Screenshots
Before:

After:

Versions:

  • Minecraft: 1.19.2
  • Loader: Forge-43.1.47
  • PMMO: 1.19-0.5.5

Additional context
Ensured the toml settings were saved by windows notepad so there was no caching issues.