Check if the player is still connected after firing event. Fixes BUKKIT-4327

Fix formatting

Check if the player is still connected after firing event. Fixes BUKKIT-4327