Methods moved out of old login handler
This commit is contained in:
@@ -14,7 +14,7 @@ import engine.net.client.msg.ClientNetMsg;
|
||||
import engine.net.client.msg.ServerInfoMsg;
|
||||
import engine.objects.PlayerCharacter;
|
||||
import engine.server.MBServerStatics;
|
||||
import engine.server.login.LoginServerMsgHandler;
|
||||
import engine.server.login.LoginServer;
|
||||
import org.pmw.tinylog.Logger;
|
||||
|
||||
public class ServerInfoMsgHandler extends AbstractClientMsgHandler {
|
||||
@@ -40,7 +40,7 @@ public class ServerInfoMsgHandler extends AbstractClientMsgHandler {
|
||||
|
||||
if (!origin.sendMsg(sim)) {
|
||||
Logger.error("Failed to send message");
|
||||
LoginServerMsgHandler.KickToLogin(MBServerStatics.LOGINERROR_UNABLE_TO_LOGIN, "Unable to send ServerInfoMsg to client.", origin);
|
||||
LoginServer.KickToLogin(MBServerStatics.LOGINERROR_UNABLE_TO_LOGIN, "Unable to send ServerInfoMsg to client.", origin);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user