mojira.dev
MC-124806

Bossbar allows storage of values larger than the maximum

The bug

Boss bars can store values greater than their maximum.

How to reproduce

  1. Create a boss bar

  2. Run /bossbar set <your_bossbar> max 1

  3. Run /bossbar set <your_bossbar> value 1000

  4. Run /bossbar get <your_bossbar> value
    → ❌ The value is 1000, even though the maximum is only 1

Comments 2

What should happen when you decrease max afterwards? Should value automatically be set to max then as well?

Nope. Value doesn't change

Ely G

Nathan Adams

Confirmed

/bossbar, boss-bar

Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w07a, Minecraft 18w07b, Minecraft 18w08a, ..., Minecraft 18w11a, Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w15a, Minecraft 18w16a

Retrieved