Prevent teams from being able to kill each other?

I've ran into an issue that I didn't know of. Have 2 players that are in a team and one was able to kill the other on accident. How can I prevent this? I don't see a flag to prevent teammates from killing each other. Do I need to add a plugin that has friendly fire? Thanks in advance