mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-02 12:23:47 +07:00
use 6.0 branch for github import
This commit is contained in:
parent
7ebe84cc0e
commit
361eb6a7e2
@ -106,7 +106,7 @@ public class ModsDialog extends BaseDialog{
|
||||
Core.settings.put("lastmod", text);
|
||||
|
||||
ui.loadfrag.show();
|
||||
Core.net.httpGet("http://api.github.com/repos/" + text + "/zipball/master", loc -> {
|
||||
Core.net.httpGet("http://api.github.com/repos/" + text + "/zipball/6.0", loc -> {
|
||||
Core.net.httpGet(loc.getHeader("Location"), result -> {
|
||||
if(result.getStatus() != HttpStatus.OK){
|
||||
ui.showErrorMessage(Core.bundle.format("connectfail", result.getStatus()));
|
||||
|
Loading…
Reference in New Issue
Block a user