Skip to content

Commit ac86219

Browse files
authored
paper: corrected type results output when using url (#576)
1 parent 0faf93d commit ac86219

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/me/itzg/helpers/paper/InstallPaperCommand.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ public Integer call() throws Exception {
143143
try (ResultsFileWriter results = new ResultsFileWriter(resultsFile)) {
144144
results.writeServer(result.serverJar);
145145
results.writeVersion(result.version);
146-
results.writeType(inputs.coordinates.project.toUpperCase());
146+
results.writeType(inputs.coordinates.project != null ?
147+
inputs.coordinates.project.toUpperCase() : "PAPER");
147148
}
148149
}
149150

0 commit comments

Comments
 (0)