mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
Server run profile, also setup logging for client profile.
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user