Skip to content

Commit

Permalink
Update download links for new downloads page
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 committed Feb 19, 2024
1 parent 1cbaafd commit 0f43571
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public DownloadCommand() {
this.defaultDownloadOption = new GeyserDownloadOption("Geyser", "https://geysermc.org/download");
this.optionsToRepository = ImmutableMap.<String, DownloadOption>builder()
.put("geyser", this.defaultDownloadOption)
.put("floodgate", new GeyserDownloadOption("Floodgate", this.defaultDownloadOption.downloadUrl))
.put("floodgate", new GeyserDownloadOption("Floodgate", "https://geysermc.org/download#floodgate"))
.put("geyseroptionalpack", new GeyserDownloadOption("GeyserOptionalPack", "https://download.geysermc.org/v2/projects/geyseroptionalpack/versions/latest/builds/latest/downloads/geyseroptionalpack"))
.put("floodgate-fabric", new FabricDownloadOption("Floodgate-Fabric", "https://modrinth.com/mod/floodgate"))
.put("paper", new DownloadOption("Paper", "https://papermc.io/downloads", "https://github.com/PaperMC.png"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public List<String> checkIssues(JSONObject dump) {

// Add any problem messages relates to floodgate
if (needsFloodgate) {
problems.add("- `auth-type` is set to `floodgate`, but you don't have Floodgate installed! Download it [here](https://geysermc.org/download#" + bootstrapInfo.getString("platform").toLowerCase() + ").");
problems.add("- `auth-type` is set to `floodgate`, but you don't have Floodgate installed! Download it [here](https://geysermc.org/download#floodgate).");
} else if (needsFloodgateAuthType && !configRemote.getString("auth-type").equalsIgnoreCase("floodgate")) {
problems.add("- You have Floodgate installed, but `auth-type` is set to `" + configRemote.getString("auth-type") + "`! Set it to `floodgate` if you want to use Floodgate.");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ private void parseDump(@NotNull MessageReceivedEvent event, String cleanURL, Str
// Set the latest info based on the returned comparison
if (compare.getBehindBy() != 0 || compare.getAheadBy() != 0) {
gitData.append("**Latest:** No\n");
problems.add("- You aren't on the latest Geyser version! Please [download](https://geysermc.org/download#" + platform.toLowerCase() + ") the latest version.");
problems.add("- You aren't on the latest Geyser version! Please [download](https://geysermc.org/download) the latest version.");
} else {
gitData.append("**Latest:** Yes\n");
}
Expand Down

0 comments on commit 0f43571

Please sign in to comment.