The Bug:
Players are disconnected when placing shelves next to powered note blocks added to the #wooden_shelves tag.
Since MC-302096 was fixed, placing shelves next to blocks without a powered state that are added to the #wooden_shelves tag no longer disconnects players. However, placing them next to powered note blocks still does, therefore introducing an inconsistency.
Steps to Reproduce:
Create a new world with the attached data pack.
Place down a note block and place a redstone block on top of it.
Place down a shelf next to the note block, so that the note block is on the left or right side of the shelf.
Observe if you are disconnected from the world.
Observed Behavior:
You are disconnected from the world with the "Network Protocol Error" message.
Expected Behavior:
You would not be disconnected from the world.