Mojira Archive
MC-166440

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

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
    

Unresolved

Marcono1234

2019-11-26, 01:45 AM

2023-10-26, 06:52 PM

8

4

Confirmed

Low

Platform

Commands

1.15 Pre-Release 2 - 1.191.15 Pre-Release 2, 1.16.2, 1.18.1, 1.18.2, 22w12a, 1.19

-