-
Bug
-
Resolution: Fixed
-
Minecraft 1.12.2, Minecraft 18w06a, Minecraft 18w08a, Minecraft 18w09a, Minecraft 18w10d, Minecraft 18w14b, Minecraft 18w20c, Minecraft 1.13-pre1, Minecraft 1.13-pre3, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8
-
Confirmed
The bug
If using a dispenser with a flint and steel in it with a TNT in front of the dispenser, the TNT will be ignited, but the flint and steel will not be damaged.
Note that this is the flint and steel activating the TNT, and not the redstone signal that activates the dispenser; this happens when you have a button that indirectly powers the dispenser.
Cause
Bootstrap.java, dispenser flint and steel handler
else if (world.getBlockState(blockpos).getBlock() == Blocks.TNT) { Blocks.TNT.onBlockDestroyedByPlayer(world, blockpos, Blocks.TNT.getDefaultState().withProperty(BlockTNT.EXPLODE, Boolean.valueOf(true))); world.setBlockToAir(blockpos); }
does not attempt to damage the item.
- relates to
-
MC-124695 Flint and steel in a dispenser loses durability when not igniting
- Resolved