Fixed arrow bug

* Server enters an infinite loop if the arrow is outside the world.