[MC-9855] Sword taking damage when hitting another player with it when pvp is set to false Created: 15/Feb/13  Updated: 06/May/15  Resolved: 15/Feb/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w07a
Fix Version/s: None

Type: Bug
Reporter: Antti Kivi Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: multiplayer, server
Environment:

Operating System: Windows 7, Java Version: Java 7u13


Issue Links:
Duplicate
duplicates MC-4732 Tools and weapons lose durability whe... Resolved
Confirmation Status: Unconfirmed
Game Mode: Survival

 Description   

Iron sword taking damage when hitting another player with it when pvp is set to false

What I expected to happen was...:
I did expect that when I hit other player (in server) with iron sword when server's pvp is set to false, sword shouldn't take damage at all.

What actually happened was...:
When I hit my friend with my iron sword, my sword took damage.

Steps to Reproduce:
1. Me and my friend were playing on our server (pvp false). Our client and server version were 13w07a.
2. I had iron sword with only three uses left.
3. I hit my friend with sword three times and it broke.

You should also notice:
I'm not any kind of expert, but I think this would be pretty important bugfix because usually, in non-pvp servers, people hits each other with sword, for fun.



 Comments   
Comment by Tails [ 15/Feb/13 ]

Duplicate of MC-4732, please use the search function to see if your bug has already been submitted. Currently over 51% of tickets are being closed as duplicate.

Generated at Sun Jan 12 12:22:28 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.