Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-9855

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Snapshot 13w07a
    • Fix Version/s: None
    • Environment:
      Operating System: Windows 7, Java Version: Java 7u13
    • 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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              pizzana Antti Kivi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: