You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changes
Signed books and letters no longer leave a ghost copy on the mouse cursor, for example after placing a letter in a barrel. Hiding the book glint used to change books only in the packets sent to players. Since 1.21.5 the client checks every clicked item against the server's copy, so books never matched, and a late correction could put a fake copy back on the cursor. The glint override is now stored on the books themselves: in player inventories within a second, and in containers (blocks, entities, ender chests) when they are opened. Lecterns, plugin menus and books with their own glint setting are left alone.
Books changed this way are tagged tfmccore:hidden_glint. With hide-book-glint: false, the glint comes back on those books only, the same way. Books on the ground or in item frames that haven't been updated yet are still shown without glint through ProtocolLib. No config change is needed.