Project MMO

Project MMO

10M Downloads

skill perks are lost on death

schindlershadow opened this issue ยท 0 comments

commented

Describe the bug
it seems like skill perks under SKILL_UP are lost on death, they come back randomly
for example:

{
        "per_level": 0.05,
        "perk": "pmmo:attribute",
        "attribute": "minecraft:generic.max_health",
        "max_boost": 10.0,
        "skill": "endurance"
      },

perks
2024-09-02_03 10 14

before death:
2024-09-02_03 01 24

after:
2024-09-02_03 01 50

Expected behavior
perks are always applied

To Reproduce
Steps to reproduce the behavior:

  1. have perks set
  2. get levels
  3. get perks
  4. die
  5. lose perks

Versions:

Minecraft: 1.21.1
Loader: neoforge 21.1.26
PMMO: 2.4.12