Me and my friend were messing around on our server and he was standing in a window made of panes. for jokes i shot the glass and he took damage from my bow.
1. create a 2x1 window surrounded by blocks.
2. have a player stand on one side of the pane.
3. have another player fire a bow at the player