Skip to content

Commit

Permalink
fixed start bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodWorkXGaming committed Jun 5, 2018
1 parent 128212d commit b7ccf4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'atm.bloodworkxgaming'
version = '1.2.2'
version = '1.2.3'

sourceCompatibility = 1.8

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ private void startServer() {

List<String> arguments = new ArrayList<>();

arguments.add(configFile.launch.preJavaArgs);
if (configFile.launch.preJavaArgs != null && !configFile.launch.preJavaArgs.isEmpty())
arguments.add(configFile.launch.preJavaArgs);

arguments.add("java");
arguments.addAll(configFile.launch.javaArgs);
arguments.add("-Xmx" + configFile.launch.maxRam);
Expand Down

0 comments on commit b7ccf4b

Please sign in to comment.