added spear collision detection