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

/rotate command is not restricted to permission level 2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.21.2 Pre-Release 1
    • 24w40a
    • None
    • Confirmed
    • Commands
    • Important
    • Platform

      Players that are not opped are still able to run the /rotate command. Even though selectors are not available in OP level 0, this still seems unintentional.

      How to reproduce:

      1. Create a new survival world without enabling cheats
      2. Try to run the /rotate command
        /rotate <playername> ~40 ~
        
      3. You are rotated
      4. Walk up to a mob to autocomplete its UUID to try to rotate it
        /rotate <uuid> facing entity <playername>
        
      5. The mob is rotated to face towards you
      6. This even works on other players

            Dat12 [Mojang] etanaratsastaja
            Misoloo [Helper] Misode
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: