Mojira Archive
MC-121681

@s doesn't work in give command

The command /give @s diamond, which I used commonly in pre-17w45a, no longer works. It fails with the message "Only players may be affected by this command", even though @s can only target a player in this instance. If I change it to /give @s[type=player] diamond, it works.

Why this is a problem:
The game's assertion that @s could target entities other than players is false when the player is executing the command.

Duplicate

Earthcomputer

2017-11-09, 01:38 AM

2017-11-09, 01:42 AM

2017-11-09, 01:42 AM

0

0

Unconfirmed

Minecraft 17w45a

-