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
Get a Book and Quill
Switch Book and Quill to off-hand
Write in the book and sign it
Switch the book back to the main hand using the
Fhotkey
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.
Linked issues
is duplicated by 9
relates to 2
Comments 8
Still issue in 1.12 pre-7
It appears this issue also affecting command given books incorrectly displaying scoreboard and entity selector syntax if opened for first time in off-hand. Tag {resolved:#} also incorrectly triggers to 1 in offhand when clearly not resolved.
@unknown, the issue you mentioned is MC-111328
Confirmed. Workaround: Manually taking the item out of the offhand slot in the inventory.
edit: No longer works.