Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-121651

Removing experience always succeeds, even when no experience can be removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 17w45a, Minecraft 17w49a, Minecraft 17w49b, Minecraft 17w50a, Minecraft 18w02a, Minecraft 18w21a, Minecraft 18w21b, Minecraft 18w22a, Minecraft 18w22b, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43c, Minecraft 19w14a, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2, 20w20b, 1.16 Release Candidate 1, 1.16, 1.16.4, 20w48a, 21w03a, 21w05b, 21w06a, 21w16a, 1.17.1, 1.18.1, 1.18.2, 1.19, 1.19.2, 1.19.3, 24w46a
    • Confirmed
    • Commands

      The bug

      Removing experience always succeeds even when no experience can be removed.

      How to reproduce

      1. Go to survival mode
      2. Run this command: /xp set @p 0
      3. Then run this command: /xp add @p -10
      4. Notice the success message in chat

        1. MC-121651.mp4
          3.03 MB
          [Mod] Avoma
        2. MC-121651.png
          963 kB
          [Mod] Avoma

            Unassigned Unassigned
            Misoloo [Helper] Misode
            Votes:
            9 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: