Set state property instead of setSerializer() to ensure serializers are properly piped

This commit is contained in:
deathcap 2016-01-31 12:20:51 -08:00
parent 9a68fd6c34
commit d0f64e9c65

View File

@ -54,7 +54,7 @@ module.exports = function(client) {
// reinitialize client object with new version TODO: move out of its constructor
client.version = majorVersion;
client.setSerializer(states.HANDSHAKING);
client.state = states.HANDSHAKING;
if (response.modinfo && response.modinfo.type === 'FML') {
// Use the list of Forge mods from the server ping, so client will match server