Typo while describing "Right-clicking and placing a node" in Chapter 4 Node and Item Callbacks
Originally in Chapter 4 Node and Item Callbacks under section Right-clicking and placing a node, It says:
When the user right-clicks with an item whilst pointing at a node, the item’s on_place callback is called. By default, this is set to core.item_place. If the pointed node has an on_rightclick callback and sneak (shift) is held, then the on_rightclick callback is called. Otherwise, core.item_place will place the node.
However there is a critical typo. Instead of and sneak (shift) is held
it should say and sneak (shift) is not held
emphasis on "not."
This is the relevant code section: https://github.com/luanti-org/luanti/blob/f390137d6eae6cc94208b3d9cc3556d4d5cc9754/builtin/game/item.lua#L337-L354
and it clearly demonstrates that the expected behaviour is completely opposite of what is described in the book.