SpockBotMC / SpockBot

High level Python framework for building Minecraft clients and bots.
MIT License
198 stars 47 forks source link

Fix for #219 #220

Closed smilechaser closed 8 years ago

smilechaser commented 8 years ago

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.

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.02%) to 41.934% when pulling 92149bb89e98ab8ba2815f1f82792396a5e5a6e9 on smilechaser:feature-login_disconnect into 2787cca1f1e5c21b00bef87b413b7ba68faf8e4d on SpockBotMC:master.

nickelpro commented 8 years ago

Looks good to me