mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-10 09:22:49 +00:00
Change-Id: If18611eb0a6296da808aead8f1da54be094db2a9
This commit is contained in:
@@ -1,13 +1,23 @@
|
||||
package com.l2jserver;
|
||||
|
||||
public class L2JGameServerMain {
|
||||
import com.l2jserver.routines.GameServerInitializationRoutine;
|
||||
|
||||
public class L2JGameServerMain {
|
||||
/**
|
||||
* @param args
|
||||
* @throws InterruptedException
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
final L2JGameServer server = new L2JGameServer();
|
||||
try {
|
||||
server.getInjector()
|
||||
.getInstance(GameServerInitializationRoutine.class).call();
|
||||
} catch (Exception e) {
|
||||
System.out.println("GameServer could not be started!");
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Thread.sleep(60 * 60 * 1000);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user