Modify Null check in ChatListener.java

Signed-off-by: Favorlock <evanlindsay@live.com>