/sync command

This commit is contained in:
Anuken
2019-08-31 10:14:26 -04:00
parent 3414026828
commit 5f361413bb
3 changed files with 13 additions and 1 deletions

View File

@ -2,6 +2,8 @@ package io.anuke.mindustry.server;
import io.anuke.arc.backends.headless.HeadlessApplication;
import io.anuke.mindustry.*;
import io.anuke.mindustry.core.*;
import io.anuke.mindustry.net.*;
public class ServerLauncher{
@ -10,6 +12,7 @@ public class ServerLauncher{
try{
Net.setClientProvider(new ArcNetClient());
Net.setServerProvider(new ArcNetServer());
Vars.platform = new Platform(){};
new HeadlessApplication(new MindustryServer(args), null, throwable -> CrashSender.send(throwable, f -> {}));
}catch(Throwable t){
CrashSender.send(t, f -> {});