mojira.dev
MC-525

Weapon/tool durability decreases when hitting playing in no-pvp mode. (SMP)

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.

Related issues

Comments

Charles-William Crete

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.

Tenebrae

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.

sciguyryan

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.

Tenebrae

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

Tails

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

Pedro M. Zamboni

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

crazyman

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

Pedro M. Zamboni

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

Tenebrae

(Unassigned)

Unconfirmed

Minecraft 1.4.2

Retrieved