Changed the implementation to check if a pass/ kick is safe from opponent.