GlowstoneMC/Glowstone — pull request #518 by m3rcuriel (2014-11-07 00:43:56+00:00)
Title: Fixes player joining game before being kicked for whitelist/ban/full

This PR fixes issue #510 , and #156, as well as touches on issues addressed in PR #373 about errors when not on a server whitelist.

The PR moves the method calls that send the join packet to the player from the constructor to a seperate method, and then calls that method once the player has been confirmed, and the PlayerLoginEvent has not been disallowed.

The creation of the InventoryMonitor is necessary inorder to prevent errors with pulse.

Sorry for putting this on master, I've been having problems with git all day and this is my third time writing this code, and this time I forgot to switch branches.