Mark has placed charges against James, claiming that fronting a fun was for fun, since the gun did not have any bullet, and that since they are friends, he could not hurt him. What defense is available for James?

Law of tort

Mark and James are friends. One day, Mark came to James compound fronting a gun for no reason. James took refuge and hit Mark with a stone, hurting him on the forehead. Mark has placed charges against James, claiming that fronting a fun was for fun, since the gun did not have any bullet, and that since they are friends, he could not hurt him. What defense is available for James?