Skip to content

Commit 546c4f8

Browse files
committed
correct PaperUpdater download name
1 parent 5c78359 commit 546c4f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/src/main/java/me/hsgamer/mcserverupdater/updater/PaperUpdater.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected String getDownloadKey() {
2828

2929
@Override
3030
protected String getDownloadName(JSONObject downloadObject) {
31-
return "name";
31+
return downloadObject.getString("name");
3232
}
3333

3434
@Override

0 commit comments

Comments
 (0)