Server run profile, also setup logging for client profile.

This commit is contained in:
cpw committed 2018-10-05 01:25:27 -04:00
1 parent 2b23eb96fb
commit 1c9b5fae5e
5 files changed
+118 -2

No files matched your search

@@ -0,0 +1,11 @@
package net.minecraftforge.server;
import com.google.common.collect.ObjectArrays;
import cpw.mods.modlauncher.Launcher;
public class ServerMain {
public static void main(String[] args) {
final String[] argArray = ObjectArrays.concat(new String[]{"--launchTarget", "fmlserver","--gameDir", "."}, args, String.class);
Launcher.main(argArray);
}
}