Update JoinQuitListener.java

Added nullpointer prevention