154155156157158159160161162163164
running = true; world.setServer(this); try { connector = new LoginConnector(); engine = new GameEngine(); engine.start(); while (!connector.isRegistered()) { Thread.sleep(100); }