Project MMO

Project MMO

10M Downloads

[1.20.1] [maybe others] Bonus Tooltip Not Disappearing

SomewhatDamaged opened this issue ยท 0 comments

commented

Describe the bug
Overriding the built-in xp bonus on an item (like a stone sword), by setting it to 1.0 multiplier, doesn't remove it from the tooltip.

Expected behavior
If the bonus is 0.0% it shouldn't show up.

To Reproduce
Steps to reproduce the behavior:

  1. New game
  2. Make datapack (withDefaults, withOverrides)
  3. Edit items\stone_sword.json to:
  "bonuses": {
    "WORN": {},
    "HELD": {
        "combat": 1.0
    }
  }
  1. See error

Screenshots
image

Versions:

  • Minecraft: 1.20.1
  • Loader: Forge-47.1.3
  • PMMO: 1.20.1-1.2.14

Additional context
image

image