13.4
This commit is contained in:
@@ -208,7 +208,7 @@ public class T2CupdateAPI {
|
||||
|
||||
public static void onUpdateCheck(Plugin plugin, String prefix, String gitKey, Integer spigotID, String discord, Boolean updateCheckOnJoin, Boolean seePreReleaseUpdates, Integer timeInterval) {
|
||||
String RepoURL = "https://git.t2code.net/api/v1/repos/" + gitKey + "/releases?limit=1";
|
||||
if (!SelectLibConfig.getSeePreReleaseUpdates()) {
|
||||
if (!seePreReleaseUpdates) {
|
||||
RepoURL = RepoURL + "&pre-release=false";
|
||||
}
|
||||
if (!RepoURL.contains("?limit=1")) {
|
||||
|
Reference in New Issue
Block a user