In the latest snapshot, if you control pickblock a block it copies the NBT data included in it. If this is a command block, it copies the command in it. This is a great feature, but I have found a problematic problem that arises with it.
Once you have a command block with NBT data in it, anywhere you place it will have that command in it. The only way to get rid of it is to drop/delete the item. If you regularly pick block a command block, like we are so used to doing as they are not in the creative menu, it will select the command block with data in it. If the command block is on a clock, the command is immediately ran. This is fine if the command is a testfor command, but if your saved command is summon PrimedTNT ~ ~2 ~, problems arise.
Please make a regular pick block erase the NBT tags when it selects it, so no more tnt is spawned on my redstone causing me to restart.
To Reproduce
Command Pick Block a command block with a command.
Place a command block with/or without data
Regular pick block that command block
place the command block selected and see that it has a command in it.
Linked issues
is duplicated by 1
Comments 6
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.
Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.
"problematic problem"? Lol. Confirmed for 1.8.2 pre-4. Relates to MC-70982.
I see your point. To get a empty cmd block you are forced to spawn another one in.
My workaround is to select another slot and ctrl+pick block a placed empty cmd-block.
Has to be fixed.