mojira.dev
MC-128155

Different message is displayed, instead of no permission

I was typing in some commands to check whether my world has cheats enabled. When I type in /gamemode creative, it popped out a different message, which is "Unknown command at position 0: <--[HERE]". This means that /gamemode is no longer a command...

What I expected to happen was...:
The "You do not have permission to use this command" message should be displayed.

What actually happened was...:
Instead, the message "Unknown command at position 0: <--[HERE]".

Steps to Reproduce:
1. Create a world with cheats disabled.
2. Type in "/gamemode creative" (or any other commands that need cheats to work)
3. Notice that the message "Unknown command at position 0: <--[HERE]" was displayed instead of "You do not have permission to use this command". How am I supposed to know what am I typing wrong?

Linked issues

Attachments

Comments 7

Confirmed for 1.13.1, it will now say: "/gamemode creative<--[HERE]

Can confirm that this is still an issue in 20w51a. The error message does now indeed say: /gamemode creative<--[HERE]

Can confirm in 21w05b.

Can confirm in 21w06a.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 1.17.1. Video attached.

Can confirm in 1.19.3 and 23w06a

migrated

(Unassigned)

Confirmed

Commands

Minecraft 18w14a, Minecraft 18w14b, Minecraft 1.13-pre3, Minecraft 1.13.1, 20w51a, , 21w05b, 21w06a, 21w08b, 1.17.1, 23w43a

Retrieved