When arrows are first launched from either a bow or a dispenser, there's a small window of time during which they fly right through the player instead hitting them. I'm trying to stop that. Here's a visual:
If you're standing on the red block, the arrow flies right through you. If you're on the emerald block or farther, it hits you.
I want to stop the arrows from flying through the player when they're in the red block. Does anyone know how I could do this? Thanks.