Starting from version 1.13, execute commands cease to function when a slash is utilized in the subcommand
Prior to version 1.13, when employing the /execute command, you had the choice to include a / for the subcommand. However, since the overhaul of the command syntax in version 1.13, the command ceases to function when a / is added. This change may be deliberate, yet it proves inconvenient when copying a command to append it as a sub-command for an execute command, as the removal of the / must be done manually.
Steps to reproduce
- Start version 1.12.2
- Spawn a pig
- Use the following command to confirm the expected behavior in 1.12.2:
/execute @e[type=minecraft:pig] ~ ~ ~ /say hi
- Start the newest version
- Run the following command:
/execute as @e[type=minecraft:pig] run /say hi
- Run the following command:
/execute as @e[type=minecraft:pig] run say hi
Observed behavior: The command fails to execute if the say command begins with a /, unlike prior to version 1.13.
Expected behavior: The command should continue to function properly even if the say command, which serves as the subcommand, includes a /.
2024-05-30, 09:39 PM
2024-06-23, 10:59 AM
2024-06-23, 10:59 AM
0
0
-