diff --git a/src/client/autoVersion.js b/src/client/autoVersion.js index 83cae2c..86e3d6a 100644 --- a/src/client/autoVersion.js +++ b/src/client/autoVersion.js @@ -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