Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public String[] getCmdLine() {
- String[] cmdLine = {};
- cmdLine[0] = getJavaExec();
- int index = 1;
- if (getBukkit()) {
- cmdLine[index] = "-Djline.terminal=jline.UnsupportedTerminal";
- index++;
- }
- cmdLine[index] = "-" + getXmx();
- index++;
- if (getXincgc()) {
- cmdLine[index] = "-Xincgc";
- }
- return cmdLine;
- }
- public void setCmdLine(String...args) {
- cmdLine = args;
- }
- setCmdLine(getCmdLine(),"-jar","craftbukkit-0.0.1-SNAPSHOT.jar","nogui","-d","\"yyyy-MM-dd HH:mm:ss\"");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement