This adds an event handler on the NetPlugin to handle disconnect packets received from a 1.9 server (which uses a slightly different data format than what we've seen before). This change allows clients to receive a descriptive error message rather than just a generic disconnect error.
Oh - forgot to mention too - the tox tests pass except for the 3.3 ones as I can't install 3.3 on OS X El Capitan. :( Hopefully that's ok.
Coverage decreased (-0.02%) to 41.934% when pulling 92149bb89e98ab8ba2815f1f82792396a5e5a6e9 on smilechaser:feature-login_disconnect into 2787cca1f1e5c21b00bef87b413b7ba68faf8e4d on SpockBotMC:master.
This adds an event handler on the NetPlugin to handle disconnect packets received from a 1.9 server (which uses a slightly different data format than what we've seen before). This change allows clients to receive a descriptive error message rather than just a generic disconnect error.
Oh - forgot to mention too - the tox tests pass except for the 3.3 ones as I can't install 3.3 on OS X El Capitan. :( Hopefully that's ok.