Dem string typos

This commit is contained in:
md_5 2014-02-08 12:21:13 +11:00
parent c1b9e9032f
commit 015dc0c65a

View File

@ -86,7 +86,7 @@ public class ServerConnector extends PacketHandler
@Override @Override
public void handle(LoginSuccess loginSuccess) throws Exception public void handle(LoginSuccess loginSuccess) throws Exception
{ {
Preconditions.checkState( thisState == State.LOGIN_SUCCESS, "Not exepcting LOGIN_SUCCESS" ); Preconditions.checkState( thisState == State.LOGIN_SUCCESS, "Not expecting LOGIN_SUCCESS" );
ch.setProtocol( Protocol.GAME ); ch.setProtocol( Protocol.GAME );
thisState = State.LOGIN; thisState = State.LOGIN;
@ -96,7 +96,7 @@ public class ServerConnector extends PacketHandler
@Override @Override
public void handle(Login login) throws Exception public void handle(Login login) throws Exception
{ {
Preconditions.checkState( thisState == State.LOGIN, "Not exepcting LOGIN" ); Preconditions.checkState( thisState == State.LOGIN, "Not expecting LOGIN" );
ServerConnection server = new ServerConnection( ch, target ); ServerConnection server = new ServerConnection( ch, target );
ServerConnectedEvent event = new ServerConnectedEvent( user, server ); ServerConnectedEvent event = new ServerConnectedEvent( user, server );