[MC-525] Weapon/tool durability decreases when hitting playing in no-pvp mode. (SMP) Created: 25/Oct/12  Updated: 03/May/17  Resolved: 15/Dec/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2
Fix Version/s: None

Type: Bug
Reporter: Tenebrae Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Windows 7 Ultimate 32-bit, Java 1.7.0_09


Issue Links:
Duplicate
duplicates MC-4732 Tools and weapons lose durability whe... Resolved
is duplicated by MC-86971 items like hoes and swords take durab... Resolved
Confirmation Status: Unconfirmed
Game Mode: Survival

 Description   

This one is pretty straight forward. On a vanilla server with PVP mode off, weapon (and tool) durability seems to decrease when hitting a player. This can be pretty annoying in combat when accidentally hitting the player in no-PVP still eats durability.

Tested with a wooden sword, after rapidly clicking the sword was destroyed within a minute.



 Comments   
Comment by Pedro M. Zamboni [ 17/Aug/13 ]

tail's comment is edited, when i asked, this sentence wasn't there

Comment by crazyman [ 17/Aug/13 ]

@zambonifofex
"in favor of the better description/information provided."
Read tails comment again

Comment by Pedro M. Zamboni [ 15/Jun/13 ]

what are you talking about? this was created BEFORE MC-4732

Comment by Tails [ 15/Dec/12 ]

This ticket has been marked as a duplicate of MC-4732 , in favor of the better description/information provided.

Comment by Tenebrae [ 25/Oct/12 ]

Ouch. I'll be more careful when spamming then :]

Comment by sciguyryan [ 25/Oct/12 ]

You have to remember that swords take durability when they impact a mob and do damage to the sword even when they aren't dealing damage to the mob (the invulnerable period between spam attacks). This is along those lines so if one is fixed then they probably should both be.

Comment by Tenebrae [ 25/Oct/12 ]

This is kinda a bug because the sword has 0 effect on the player after hitting him, but still eats durability, which makes no sense.

Comment by Charles-William Crete [ 25/Oct/12 ]

This is kinda not a bug because it will still render as it hits a mob, so it decrease the durability and make the sword break. So it could be fix but this is not a bug.

Generated at Sun Jan 12 11:51:19 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.