Fixed possible NPE if error occurs in TeleportsMessageListener