What I expect: As with Java, whether or not a command is preceded with a slash should not affect how it runs.
What happens: Commands preceded by a slash cannot be used in `/execute`. A vague error message of "Failed to execute X as Y" is given.
Attachments
Comments 9
@unknown still a valid bug, @unknown
What I expect: As with Java, whether or not a command is preceded with a slash should not affect how it runs.
This is no longer allowed in Java 1.13. Not going to comment on whether or not this should still be fixed.
Thank you for your report!
However, this issue is Working as Intended.
While a command in a command block may optionally be preceded by "/", the inner command within an execute command is not a separate command in this context; it is part of the execute command. As a rule of thumb, the only place you can optionally put a "/" in a command block is at the start of the input box.
Full Version History β Feature Requests and Suggestions
Quick Links:
π Issue Guidelines β π¬ Community Support β π§ Customer Support β π Game Wiki
@Auldrick
Checking the latest beta, it appears that this has already been fixed (or consistent with Java 1.12 at least) andΒ the slash is now optional in the inner command.
[^EfP23z1[1].png]