diff options
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java b/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java index 848185a8..b7586a93 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java @@ -260,14 +260,9 @@ public class NotEnoughUpdates { config.apiData.repoBranch = "master"; } - // Remove after 2.1 ig - if ("dangerous".equals(config.apiData.repoBranch)) { - config.apiData.repoBranch = "prerelease"; - } - - // Remove before 2.1.1 release - if ("master".equals(config.apiData.repoBranch)) { - config.apiData.repoBranch = "prerelease"; + // When this is changed next, also change it in the build gradle + if ("prerelease".equals(config.apiData.repoBranch)) { + config.apiData.repoBranch = "master"; } if (config.apiData.moulberryCodesApi.isEmpty()) { |