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

/op, /deop, /ban and /pardon do not work with @s

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15 Pre-Release 2, 1.16.2, 1.18.1, 1.18.2, 22w12a, 1.19
    • None
    • Confirmed
    • Commands
    • Low
    • Platform

      The bug

      When trying to use /op, /deop, /ban or /pardon with @s (note that @p works), the following error is shown:

      Only players may be affected by this command, but the provided selector includes entities

      How to reproduce

      1. Start a server
      2. Try to run the following command
        /op @s
        

        1. MC-166440.mp4
          5.67 MB
          [Mod] Avoma
        2. MC-166440.png
          1.25 MB
          [Mod] Avoma

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            8 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: