Project MMO

Project MMO

11M Downloads

[1.21] `SKILL_UP` Not Firing When Using Admin

SomewhatDamaged opened this issue ยท 1 comments

commented

Describe the bug
SKILL_UP (at least with attributes) doesn't seem to be triggering when using the /pmmo admin <name> add <skill> level 1 command.

Expected behavior
Adding one level in the above manner should trigger perks like:

      {
        "per_level": 0.005,
        "perk": "pmmo:attribute",
        "attribute": "minecraft:generic.oxygen_bonus",
        "max_boost": 1.0,
        "skill": "swimming",
        "max_level": 100
      }

To Reproduce
Steps to reproduce the behavior:

  1. Generate configs
  2. Add the above perk
  3. Add one level to yourself
  4. Attribute doesn't go up

Versions:

  • Minecraft: 1.21.1
  • Loader: NeoForge-21.1.169
  • PMMO: 1.21.1-2.6.30

Additional context

Helping.mp4
commented

Since Attributes are mostly what people need with the command updates, this is resolved by fd92f7a