The Bug:
Dispensers consume the durability of flint and steel and play their clicking sound when facing a sulfur cube holding TNT while the tnt_explodes game rule is set to false.
A dispenser holding flint and steel fails when there is nothing it can ignite, and it also fails when facing a TNT block that can't be primed when the tnt_explodes game rule is set to false. However, a dispenser holding flint and steel will still consume durability when activated and facing a sulfur cube that has TNT in it when the tnt_explodes game rule is set to false.
Steps to Reproduce:
Set the
tnt_explodesgame rule to false by using the command provided below./gamerule tnt_explodes falsePlace down a dispenser and put some flint and steel inside of it.
Stand in font of the dispenser and summon a sulfur cube holding TNT by using the command provided below.
/summon minecraft:sulfur_cube ~ ~ ~ {Size:1,equipment:{body:{count:1,id:"minecraft:tnt"}}}Activate the dispenser and observe if the durability of the flint and steel was consumed.
Observed Behavior:
Durability of the flint and steel was consumed despite nothing being ignited.
Expected Behavior:
Durability of the flint and steel would not be consumed in this situation because nothing has been ignited.