/clone command treats invalid optional arguments as if they were default
The bug
- Any invalid value for [maskMode] in clone is treated as replace
Ex. command (a block below you is moved to be next to you)/clone ~ ~-1 ~ ~ ~-1 ~ ~1 ~ ~ invalidValue move
- Any invalid value for [cloneMode] in clone is treated as normal
Ex. command (the command will fail with "Source and destination can not overlap", even thought invalidValue is not normal)/clone ~ ~ ~ ~1 ~ ~ ~ ~ ~ replace invalidValue
Expected behavior would be that is shows an error message that states that the argument is not valid
2017-05-26, 11:56 AM
2017-11-13, 12:46 AM
2017-11-13, 12:46 AM
1
1
Minecraft 1.11.2, Minecraft 1.12 Pre-Release 5, Minecraft 1.12.1