Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command Selector Bug #11466

Open
KKW557 opened this issue Oct 3, 2024 · 1 comment
Open

Command Selector Bug #11466

KKW557 opened this issue Oct 3, 2024 · 1 comment
Labels
status: needs triage type: bug Something doesn't work as it was intended to. version: 1.21.1 Game version 1.21.1

Comments

@KKW557
Copy link

KKW557 commented Oct 3, 2024

Expected behavior

command selector eg @s will right colored when player have minecraft.command.selector permisssion

Observed/Actual behavior

Image
Image
command executed, but in chat have wrong colored

Steps/models to reproduce

/minecraft:tp @a @s

Plugin and Datapack List

paper only

Paper version

[12:15:55 INFO]: Checking version, please wait...
[12:15:57 INFO]: This server is running Paper version 1.21.1-118-master@fb76840 (2024-10-02T12:49:56Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.1-116-e7e1ab5 (MC: 1.21.1)

Other

No response

@KKW557 KKW557 added status: needs triage type: bug Something doesn't work as it was intended to. labels Oct 3, 2024
@papermc-sniffer papermc-sniffer bot added the version: 1.21.1 Game version 1.21.1 label Oct 3, 2024
@papermc-projects papermc-projects bot moved this to 🕑 Needs Triage in Issues: Bugs Oct 3, 2024
@Machine-Maker
Copy link
Member

I think this is not fixable. The client has it's own logic for checking if selectors can be used, and in vanilla, you have to have an op level of 2. You can try to fake that op level with the sendOpLevel API. In vanilla you have to have at least the 2 level. These arguments are parsed and validated purely on the client. The server-side logic for executing them already has the correct fixes (as evidenced by you being able to run the command).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: bug Something doesn't work as it was intended to. version: 1.21.1 Game version 1.21.1
Projects
Status: 🕑 Needs Triage
Development

No branches or pull requests

2 participants