Mojira Archive
MC-277141

/rotate command is not restricted to permission level 2

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

Fixed

[Helper] Misode

[Mojang] etanaratsastaja

2024-10-02, 08:41 PM

2024-10-04, 11:13 AM

2024-10-04, 08:25 AM

4

3

Confirmed

Important

Platform

Commands

24w40a

1.21.2 Pre-Release 1