-
Bug
-
Resolution: Unresolved
-
None
-
1.15.2, 20w22a, 1.16 Pre-release 2, 1.16 Pre-release 5, 1.16 Pre-release 7, 1.16.1, 1.16.2 Pre-release 1, 1.16.2 Pre-release 3, 1.16.2, 1.16.3, 1.16.4 Pre-release 1, 1.16.4, 20w46a, 20w48a, 21w08a, 21w17a, 1.17.1, 21w37a, 21w39a, 21w40a, 21w42a, 21w43a, 1.18 Pre-release 1, 1.18 Pre-release 5, 1.18, 1.18.1, 22w03a, 1.18.2, 22w14a, 1.19 Pre-release 4, 1.19, 22w24a, 1.19.1, 1.19.2, 22w45a, 1.19.4, 23w16a, 1.20.1, 23w45a, 1.21
-
Confirmed
-
Items, Player Animation
The bug
Player can keep right-clicking on a creeper (with a flint and steel) even after the first time, even though the creeper is going to blow up anyway, losing durability for each hand swing.
How to reproduce
- Spawn a creeper or a charged creeper
- Go into survival mode (creative mode works too but it won't lower flint and steel's durability)
- Start right-clicking on a creeper with a flint and steel
→ Player is still able to use flint and steel even after the first time while creeper blows up, making player use more durability than 1
Expected behavior would be that the player should only be able to right-click on a creeper once.
Code analysis and fix
Code analysis and fix by Avoma can be found in this comment.