The bug
After the (second) fix of MC-311681, it is still possible to create an ignited sulfur cube without TNT using dispensers, if the cube is both sheared and ignited in the same tick.
How to reproduce
Build the following setup, or load the attached structure file:
[media]
Press the button next to both dispensers
Expected result
The sulfur cube should ignite and keep the TNT inside
Observed result
The sulfur cube ignites, but loses its TNT. Unless it picks it back up, it will continue to advance its fuse but fail to fully explode.
Can confirm. This does not actually require dispensers:
Spawn sulfur cube
Give TNT
/tick freezeShear TNT
Right-click sulfur cube with flint and steel
❌ It ignites