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

Players still earn advancements in spectator mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 18w08b, Minecraft 18w10b, Minecraft 18w10c, Minecraft 18w10d, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, 1.15.2, 20w18a, 20w22a, 1.16.1, 20w29a, 1.16.3, 1.16.4 Pre-release 2, 1.16.4, 20w48a, 21w03a, 21w05b, 21w06a, 1.17 Pre-release 1, 1.17 Release Candidate 1, 1.17.1 Release Candidate 1, 1.17.1, 21w37a, 21w39a, 21w41a, 21w42a, 1.18 Release Candidate 3, 1.18.1, 1.18.2, 1.19, 1.19.2, 1.19.3, 1.19.4, 23w14a, 1.20.1, 23w35a, 1.20.2, 23w45a, 1.20.4, 1.21
    • Confirmed
    • Spectator
    • Advancements
    • Normal
    • Platform

      The Bug

      A player can still earn advancements in spectator mode, and they are still broadcast to the server. You can test this by going into spectator mode, and /giving yourself an elytra.

      Steps to Reproduce

      • Revoke all advancements from yourself.
        /advancement revoke @s everything
        
      • Switch into spectator mode and give yourself a lava bucket.
        /give @s minecraft:lava_bucket
        
      • Take note as to whether or not you are granted the "Hot Stuff" advancement.

      Observed Behavior

      Players are able to earn advancements whilst in spectator mode.

      Expected Behavior

      Players would not be able to earn advancements whilst in spectator mode.

      Code analysis

      Code analysis by Avoma can be found on this comment.

        1. MC-120083.png
          MC-120083.png
          2.11 MB
        2. MC-120083.mp4
          4.14 MB

            Unassigned Unassigned
            Kyiiel Gamebuster
            Votes:
            27 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              CHK: