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

Book and quill doesn't save changes when edited in offhand

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 15w31b, Minecraft 15w31c, Minecraft 15w32c, Minecraft 15w35b, Minecraft 15w40b, Minecraft 16w06a, Minecraft 1.9, Minecraft 1.9.2, Minecraft 1.10.2, Minecraft 1.11, Minecraft 1.11.2, Minecraft 1.12 Pre-Release 5, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w11a, Minecraft 18w19b, Minecraft 1.13
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      The bug

      When a book is signed in the off-hand, when switched back to the main hand, it reverts back to a Book and Quill.

      How to reproduce

      1. Get a Book and Quill
      2. Switch Book and Quill to off-hand
      3. Write in the book and sign it
      4. Switch the book back to the main hand using the F hotkey

      Code analysis

      Based on 1.11 decompiled using MCP 9.35 rc1

      The problem is that the method net.minecraft.network.NetHandlerPlayServer.processCustomPayload(CPacketCustomPayload) only tests for the mainhand when it receives a MC|BEdit or MC|BSign CPacketCustomPayload packet.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                JustinJKJ Justin Johnson
              • Votes:
                18 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: