Set state before set session handler
This commit is contained in:
parent
f6fa70420a
commit
ba94616ee7
|
|
@ -77,8 +77,8 @@ public class FML2CRPMClientConnectionPhase extends VelocityForgeClientConnection
|
||||||
|
|
||||||
this.clientPhase = this.clientPhase == ClientPhase.MODLIST ? ClientPhase.MODDED : ClientPhase.VANILLA;
|
this.clientPhase = this.clientPhase == ClientPhase.MODLIST ? ClientPhase.MODDED : ClientPhase.VANILLA;
|
||||||
|
|
||||||
connection.setSessionHandler(((VelocityForgeHandshakeSessionHandler) connection.getSessionHandler()).getOriginal());
|
|
||||||
connection.setState(StateRegistry.PLAY);
|
connection.setState(StateRegistry.PLAY);
|
||||||
|
connection.setSessionHandler(((VelocityForgeHandshakeSessionHandler) connection.getSessionHandler()).getOriginal());
|
||||||
((VelocityServer) Ambassador.getInstance().server).registerConnection(player);
|
((VelocityServer) Ambassador.getInstance().server).registerConnection(player);
|
||||||
|
|
||||||
backupServer = null;
|
backupServer = null;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user