Bukkit/CraftBukkit — pull request #1263 by Crafter6432 (2013-11-11 13:22:28+00:00)
Title: Wait until the playerconnection is ready

I wondered that my plugin messages got lost, because I sent they from the playerLoginEvent. And at that time the player connection is still null.
My fix causes to wait util the playerconnection is available and send the message then.