-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.11.2, Minecraft 17w17b, Minecraft 17w18a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 4, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 17w31a, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w46a, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w03b, Minecraft 18w06a, Minecraft 18w09a, Minecraft 18w10d, Minecraft 18w14b, Minecraft 1.13-pre1, Minecraft 1.13-pre3, Minecraft 1.13-pre6, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 1.13.1, 1.14.4, 1.15 Pre-release 6, 1.16.5, 21w06a, 21w07a, 1.20.4, 24w06a
-
Confirmed
-
(Unassigned)
The bug
One can send chat messages even when chat is set to "command only" in chat settings. They will be unable to see the message, but others are still able to see it; this is very confusing behavior.
If this change was performed because the "cannot send chat message" message (chat.cannotSend) is confusing, then perhaps that message should be changed; even still, the current behavior is more confusing than that.
To reproduce
- Connect 2 accounts to the server.
- In one account, make sure that chat settings is set to "commands only".
- In the other, make sure it is set to "shown".
- Say something from the player set to commands only.
- Observe that no message is displayed on that player's side, but a message is displayed on the other's side.
Note
This issue first surfaced in 13w36a (the first snapshot for 1.7); it was fine in 1.6.4. Prior to 13w36a, the handler for the chat packet rejected non-command chat messages if the player's chat visibility was commands only; now it only rejects chat messages if the visibility is set to hidden.